|
|
|
@ -195,6 +195,9 @@ class OC_App { |
|
|
|
} |
|
|
|
} |
|
|
|
sort($apps); |
|
|
|
sort($apps); |
|
|
|
array_unshift($apps, 'files'); |
|
|
|
array_unshift($apps, 'files'); |
|
|
|
|
|
|
|
// Only cache the app list, when the user is logged in. |
|
|
|
|
|
|
|
// Otherwise we cache the list with disabled apps, although |
|
|
|
|
|
|
|
// the apps are enabled for the user after he logged in. |
|
|
|
if ($user) { |
|
|
|
if ($user) { |
|
|
|
self::$enabledAppsCache = $apps; |
|
|
|
self::$enabledAppsCache = $apps; |
|
|
|
} |
|
|
|
} |
|
|
|
|