diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-06-23 15:14:35 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-06-23 15:14:35 +0200 |
commit | 2547945779a9ef907cf1db6d95c345f0f6177788 (patch) | |
tree | e787d551b74b116f7741c91ce2bb3cde3b3ee018 /lib/private/app.php | |
parent | 8b41689fe6efb6f297a4287c62079336272561a6 (diff) | |
download | nextcloud-server-2547945779a9ef907cf1db6d95c345f0f6177788.tar.gz nextcloud-server-2547945779a9ef907cf1db6d95c345f0f6177788.zip |
Add comment
Diffstat (limited to 'lib/private/app.php')
-rw-r--r-- | lib/private/app.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/app.php b/lib/private/app.php index dc058cadc90..01597b37e77 100644 --- a/lib/private/app.php +++ b/lib/private/app.php @@ -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; } |