mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: php-cs
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
9338ef36de
commit
2c8d410f67
1 changed files with 1 additions and 2 deletions
|
|
@ -49,7 +49,6 @@ namespace OCP;
|
|||
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;
|
||||
|
|
@ -115,7 +114,7 @@ class Util {
|
|||
*/
|
||||
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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue