diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-12-17 21:53:43 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-12-17 21:53:43 +0100 |
commit | e3230b5bc2e552d68547bf718ef00b6d52d30c9d (patch) | |
tree | 7607534d8cdc326331a71c68bbfb34330780e4d4 /lib/private/user.php | |
parent | 3d006207d1940227c34e735fb439d9af105fcbcc (diff) | |
download | nextcloud-server-e3230b5bc2e552d68547bf718ef00b6d52d30c9d.tar.gz nextcloud-server-e3230b5bc2e552d68547bf718ef00b6d52d30c9d.zip |
Add ultra-slim hack for incognito mode
As discussed at https://github.com/owncloud/core/pull/12912#issuecomment-67391155
Diffstat (limited to 'lib/private/user.php')
-rw-r--r-- | lib/private/user.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/user.php b/lib/private/user.php index ff45e9e26a6..516b789d430 100644 --- a/lib/private/user.php +++ b/lib/private/user.php @@ -342,7 +342,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; } /** |