diff options
author | Joas Schilling <coding@schilljs.com> | 2019-07-23 10:28:47 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-08-15 11:12:45 +0200 |
commit | 810ee7d811c4cf0291add770cb89e5b6d11104b9 (patch) | |
tree | 329b6656be47cfeca48239722b55df0a8a1e4bc4 /lib/private/legacy/app.php | |
parent | f6c34240395bd53e160bdc8bac10e504451553b8 (diff) | |
download | nextcloud-server-810ee7d811c4cf0291add770cb89e5b6d11104b9.tar.gz nextcloud-server-810ee7d811c4cf0291add770cb89e5b6d11104b9.zip |
Make the auto-disabled list more broad
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/legacy/app.php')
-rw-r--r-- | lib/private/legacy/app.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index d495bef2ebd..58b617aae45 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -70,7 +70,6 @@ class OC_App { static private $loadedApps = []; static private $altLogin = []; static private $alreadyRegistered = []; - static public $autoDisabledApps = []; const supportedApp = 300; const officialApp = 200; @@ -157,8 +156,7 @@ class OC_App { \OC::$server->getLogger()->logException($ex); if (!\OC::$server->getAppManager()->isShipped($app)) { // Only disable apps which are not shipped - \OC::$server->getAppManager()->disableApp($app); - self::$autoDisabledApps[] = $app; + \OC::$server->getAppManager()->disableApp($app, true); } } \OC::$server->getEventLogger()->end('load_app_' . $app); |