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