Always installed apps includes the hardcoded ones from shipped.json
* fixes #20568
This commit is contained in:
parent
c10be07c1b
commit
1189528e1f
1 changed files with 6 additions and 0 deletions
|
@ -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';
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue