Add comment
This commit is contained in:
parent
8b41689fe6
commit
2547945779
|
@ -195,6 +195,9 @@ class OC_App {
|
|||
}
|
||||
sort($apps);
|
||||
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) {
|
||||
self::$enabledAppsCache = $apps;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue