Merge pull request #7887 from nextcloud/backport/7879/dont-disable-shipped-apps-on-errors
[stable13] Keep all shipped apps enabled because they should be okay
This commit is contained in:
commit
7ea3623cd9
|
@ -236,8 +236,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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue