Skip to content

Commit

Permalink
Set Dashboard as default app
Browse files Browse the repository at this point in the history
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
  • Loading branch information
jancborchardt committed Jul 21, 2020
1 parent 63e62cf commit 9514283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/legacy/OC_Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ public static function getDefaultPageUrl() {
} 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));
Expand Down

0 comments on commit 9514283

Please sign in to comment.