diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-12 23:53:33 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-11-28 17:03:33 +0100 |
commit | be85d00a386dfc8c60f413e7000009237855ce7e (patch) | |
tree | 5390a23a6d71e6021672e188b85dfbdf4e224876 /apps/files_external/appinfo | |
parent | 6b97f6af48ba8dc029e616cf778a1cbcd0fea001 (diff) | |
download | nextcloud-server-be85d00a386dfc8c60f413e7000009237855ce7e.tar.gz nextcloud-server-be85d00a386dfc8c60f413e7000009237855ce7e.zip |
when a user was delete remove them from applicable list, unless
it is the only user, then remove the mount
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/files_external/appinfo')
-rw-r--r-- | apps/files_external/appinfo/app.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/app.php b/apps/files_external/appinfo/app.php index 856b04fde15..7d0301dd588 100644 --- a/apps/files_external/appinfo/app.php +++ b/apps/files_external/appinfo/app.php @@ -34,6 +34,8 @@ require_once __DIR__ . '/../3rdparty/autoload.php'; // register Application object singleton \OC_Mount_Config::$app = \OC::$server->query(\OCA\Files_External\AppInfo\Application::class); +\OC_Mount_Config::$app->registerListeners(); + $appContainer = \OC_Mount_Config::$app->getContainer(); \OCA\Files\App::getNavigationManager()->add(function () { |