From 2cc0c90015aca5ea287dadd8c0edc3925a573426 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Fri, 22 Nov 2013 14:00:08 +0100 Subject: [PATCH] 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 1781632bc7..203372fe1e 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];