diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-31 01:55:48 +0400 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-31 01:55:48 +0400 |
commit | 5ca03f851ee83156d5ef3623a7579707dc52518b (patch) | |
tree | 8487ee62123d8e5a19d9b50ffaee2f2a18293ad1 /lib | |
parent | 126f0ddf3c86b0a68873fdf0dff4a22b9b44f7cf (diff) |
call \OC_Util::checkLoggedIn() on checkSubAdminUser() as well
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/util.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index da2cba1b938..12c399695dc 100755 --- a/lib/util.php +++ b/lib/util.php @@ -437,6 +437,7 @@ class OC_Util { * @return array $groups where the current user is subadmin */ public static function checkSubAdminUser() { + \OC_Util::checkLoggedIn(); if(!OC_SubAdmin::isSubAdmin(OC_User::getUser())) { header( 'Location: '.OC_Helper::linkToAbsolute( '', 'index.php' )); exit(); |