From: Robin Appelman Date: Mon, 23 Jun 2014 13:14:35 +0000 (+0200) Subject: Add comment X-Git-Tag: v7.0.0beta1~17^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2547945779a9ef907cf1db6d95c345f0f6177788;p=nextcloud-server.git Add comment --- 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; }