Set Dashboard as default app

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan C. Borchardt 2020-07-21 15:27:20 +02:00 committed by Julius Härtl
parent 90f56dd2b0
commit e25bab98b7
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 1 deletions

View File

@ -1100,7 +1100,7 @@ class OC_Util {
} else {
$appId = 'files';
$config = \OC::$server->getConfig();
$defaultApps = explode(',', $config->getSystemValue('defaultapp', 'files'));
$defaultApps = explode(',', $config->getSystemValue('defaultapp', 'dashboard'));
// find the first app that is enabled for the current user
foreach ($defaultApps as $defaultApp) {
$defaultApp = OC_App::cleanAppId(strip_tags($defaultApp));