Skip to content
Snippets Groups Projects
Commit 1189528e authored by Morris Jobke's avatar Morris Jobke
Browse files

Always installed apps includes the hardcoded ones from shipped.json

* fixes #20568
parent c10be07c
Branches
No related tags found
No related merge requests found
......@@ -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';
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment