Skip to content
Snippets Groups Projects
Commit 25479457 authored by Robin Appelman's avatar Robin Appelman
Browse files

Add comment

parent 8b41689f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment