summaryrefslogtreecommitdiffstats
path: root/lib/private/user.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-12-19 14:54:11 +0100
committerLukas Reschke <lukas@owncloud.com>2014-12-19 14:54:11 +0100
commitf671b232cc122cdb8e993c8b35bd5419b32a9ae4 (patch)
tree9f8c90d3324513060a67c451e68df16d09b2fd73 /lib/private/user.php
parent2d647973202151c12a3bd5f0396657212b1f7b7f (diff)
parente3230b5bc2e552d68547bf718ef00b6d52d30c9d (diff)
downloadnextcloud-server-f671b232cc122cdb8e993c8b35bd5419b32a9ae4.tar.gz
nextcloud-server-f671b232cc122cdb8e993c8b35bd5419b32a9ae4.zip
Merge pull request #12923 from owncloud/ultra-slim-version-of-incognito-mode
Add ultra-slim hack for incognito mode
Diffstat (limited to 'lib/private/user.php')
-rw-r--r--lib/private/user.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/user.php b/lib/private/user.php
index 17b84d1f93e..d66354b247d 100644
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -343,7 +343,14 @@ class OC_User {
*/
public static function setIncognitoMode($status) {
self::$incognitoMode = $status;
+ }
+ /**
+ * get incognito mode status
+ * @return bool
+ */
+ public static function isIncognitoMode() {
+ return self::$incognitoMode;
}
/**