Always installed apps includes the hardcoded ones from shipped.json

* fixes #20568
This commit is contained in:
Morris Jobke 2015-11-19 09:11:14 +01:00
parent c10be07c1b
commit 1189528e1f
1 changed files with 6 additions and 0 deletions

View File

@ -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';
});