aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJan C. Borchardt <hey@jancborchardt.net>2020-07-21 15:27:20 +0200
committerJulius Härtl <jus@bitgrid.net>2020-08-05 17:01:28 +0200
commite25bab98b73e79f4ae131136e516b96fa5cfbdb4 (patch)
tree26039227bd60217df9e8a42feb79f73ec1e96d67 /lib
parent90f56dd2b09479a61db085ea2c8f93887e1e6dad (diff)
downloadnextcloud-server-e25bab98b73e79f4ae131136e516b96fa5cfbdb4.tar.gz
nextcloud-server-e25bab98b73e79f4ae131136e516b96fa5cfbdb4.zip
Set Dashboard as default app
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/OC_Util.php2
1 files changed, 1 insertions, 1 deletions
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));