Set Dashboard as default app
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
This commit is contained in:
parent
90f56dd2b0
commit
e25bab98b7
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue