diff options
Diffstat (limited to 'apps/files_external/personal.php')
-rw-r--r-- | apps/files_external/personal.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files_external/personal.php b/apps/files_external/personal.php index f180b7e8f5c..4d8f480ecc0 100644 --- a/apps/files_external/personal.php +++ b/apps/files_external/personal.php @@ -30,7 +30,6 @@ use \OCA\Files_External\Service\BackendService; $appContainer = \OC_Mount_Config::$app->getContainer(); $backendService = $appContainer->query('OCA\Files_External\Service\BackendService'); $userStoragesService = $appContainer->query('OCA\Files_external\Service\UserStoragesService'); -$globalAuth = $appContainer->query('OCA\Files_External\Lib\Auth\Password\GlobalAuth'); $tmpl = new OCP\Template('files_external', 'settings'); $tmpl->assign('encryptionEnabled', \OC::$server->getEncryptionManager()->isEnabled()); @@ -39,7 +38,4 @@ $tmpl->assign('storages', $userStoragesService->getStorages()); $tmpl->assign('dependencies', OC_Mount_Config::dependencyMessage($backendService->getBackends())); $tmpl->assign('backends', $backendService->getAvailableBackends()); $tmpl->assign('authMechanisms', $backendService->getAuthMechanisms()); -$uid = \OC::$server->getUserSession()->getUser()->getUID(); -$tmpl->assign('globalCredentials', $globalAuth->getAuth($uid)); -$tmpl->assign('globalCredentialsUid', $uid); return $tmpl->fetchPage(); |