Skip to content

Commit

Permalink
fix: php-cs
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
skjnldsv committed Mar 15, 2024
1 parent 9338ef3 commit 2c8d410
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/public/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
use bantu\IniGetWrapper\IniGetWrapper;
use OC\AppScriptDependency;
use OC\AppScriptSort;
use OCP\Share\IManager as IShareManager;
use OCP\Share\IManager;
use Psr\Container\ContainerExceptionInterface;
use Psr\Log\LoggerInterface;
Expand Down Expand Up @@ -115,7 +114,7 @@ public static function getChannel() {
*/
public static function isSharingDisabledForUser() {
if (self::$shareManager === null) {
self::$shareManager = \OC::$server->get(IShareManager::class);
self::$shareManager = \OC::$server->get(IManager::class);
}

$user = \OC::$server->getUserSession()->getUser();
Expand Down

0 comments on commit 2c8d410

Please sign in to comment.