From e25bab98b73e79f4ae131136e516b96fa5cfbdb4 Mon Sep 17 00:00:00 2001 From: "Jan C. Borchardt" Date: Tue, 21 Jul 2020 15:27:20 +0200 Subject: Set Dashboard as default app Signed-off-by: Jan C. Borchardt --- lib/private/legacy/OC_Util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 82b7abf6c8f..410acbce698 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -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)); -- cgit v1.2.3