[Pkg-owncloud-commits] [owncloud] 68/239: set incognito mode for public.php calls. Because in this case ownCloud should always work the same way as if no user is logged in

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:20 UTC 2013


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

taffit pushed a commit to branch master
in repository owncloud.

commit 2cc0c90015aca5ea287dadd8c0edc3925a573426
Author: Bjoern Schiessle <schiessle at owncloud.com>
Date:   Fri Nov 22 14:00:08 2013 +0100

    set incognito mode for public.php calls. Because in this case ownCloud should always work the same way as if no user is logged in
---
 public.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/public.php b/public.php
index 1781632..203372f 100644
--- a/public.php
+++ b/public.php
@@ -20,6 +20,7 @@ try {
 
 	OC_Util::checkAppEnabled($app);
 	OC_App::loadApp($app);
+	OC_User::setIncognitoMode(true);
 
 	require_once OC_App::getAppPath($app) .'/'. $parts[1];
 

-- 
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