Add comment

This commit is contained in:
Robin Appelman 2014-06-23 15:14:35 +02:00
parent 8b41689fe6
commit 2547945779
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}