diff options
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; } /** |