[Pkg-owncloud-commits] [owncloud] 19/67: Add comment

David Prévot taffit at moszumanska.debian.org
Fri Jun 27 23:58:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 2547945779a9ef907cf1db6d95c345f0f6177788
Author: Robin Appelman <icewind at owncloud.com>
Date:   Mon Jun 23 15:14:35 2014 +0200

    Add comment
---
 lib/private/app.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/private/app.php b/lib/private/app.php
index dc058ca..01597b3 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;
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list