diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-26 16:50:05 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-26 16:50:05 +0100 |
commit | 8fe878afe9af165b98470a75203df2f1b32cb68f (patch) | |
tree | 770f6f2077c1502a686158e2c0dbb4baeb93b230 /lib | |
parent | 80c43ffc6cbae26695435ea7b4d2e8126dee6725 (diff) | |
parent | bc69cb2de39bb14079ffa58ad5fe42856c50d790 (diff) | |
download | nextcloud-server-8fe878afe9af165b98470a75203df2f1b32cb68f.tar.gz nextcloud-server-8fe878afe9af165b98470a75203df2f1b32cb68f.zip |
Merge pull request #20602 from owncloud/fix-installed-apps
Always installed apps includes the hardcoded ones from shipped.json
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/app/appmanager.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/app/appmanager.php b/lib/private/app/appmanager.php index 1f993d8538f..f826c8ba0c7 100644 --- a/lib/private/app/appmanager.php +++ b/lib/private/app/appmanager.php @@ -77,6 +77,12 @@ class AppManager implements IAppManager { private function getInstalledAppsValues() { if (!$this->installedAppsCache) { $values = $this->appConfig->getValues(false, 'enabled'); + + $alwaysEnabledApps = $this->getAlwaysEnabledApps(); + foreach($alwaysEnabledApps as $appId) { + $values[$appId] = 'yes'; + } + $this->installedAppsCache = array_filter($values, function ($value) { return $value !== 'no'; }); |