diff options
author | Joas Schilling <coding@schilljs.com> | 2018-01-16 11:39:48 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-01-16 13:41:33 +0100 |
commit | c7485fa1ad8e5f1f7f18f71c05a03fd5dd48f828 (patch) | |
tree | e470187254af7072892af5241bdc71a51cbccc98 /lib | |
parent | a3059d0f1fda8ecd678cb61b93b0728270f86928 (diff) | |
download | nextcloud-server-c7485fa1ad8e5f1f7f18f71c05a03fd5dd48f828.tar.gz nextcloud-server-c7485fa1ad8e5f1f7f18f71c05a03fd5dd48f828.zip |
Keep all shipped apps enabled because they should be okay
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/legacy/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 1bdbd1e2a83..37de5fb491b 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -209,8 +209,8 @@ class OC_App { require_once $app . '/appinfo/app.php'; } catch (Error $ex) { \OC::$server->getLogger()->logException($ex); - $blacklist = \OC::$server->getAppManager()->getAlwaysEnabledApps(); - if (!in_array($app, $blacklist)) { + if (!\OC::$server->getAppManager()->isShipped($app)) { + // Only disable apps which are not shipped self::disable($app); } } |