Keep all shipped apps enabled because they should be okay
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c25da25180
commit
d639dfacb7
|
@ -236,8 +236,8 @@ class OC_App {
|
||||||
require_once $app . '/appinfo/app.php';
|
require_once $app . '/appinfo/app.php';
|
||||||
} catch (Error $ex) {
|
} catch (Error $ex) {
|
||||||
\OC::$server->getLogger()->logException($ex);
|
\OC::$server->getLogger()->logException($ex);
|
||||||
$blacklist = \OC::$server->getAppManager()->getAlwaysEnabledApps();
|
if (!\OC::$server->getAppManager()->isShipped($app)) {
|
||||||
if (!in_array($app, $blacklist)) {
|
// Only disable apps which are not shipped
|
||||||
self::disable($app);
|
self::disable($app);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue