diff options
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); |