From: paulr Date: Thu, 3 Nov 2011 16:09:39 +0000 (+1100) Subject: removed a pointless permission check X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=b4ea890257641555456fce6f6f32b94709dcf9a1;p=gwvp.git removed a pointless permission check --- diff --git a/gwvplib/gwvpuseradmin.php b/gwvplib/gwvpuseradmin.php index 268f0b4..d39aeae 100644 --- a/gwvplib/gwvpuseradmin.php +++ b/gwvplib/gwvpuseradmin.php @@ -59,11 +59,6 @@ function gwvp_UserAdminPage() function gwvp_ModifyUserPage() { - if(!gwvp_CheckAuthLevel("admin")) { - gwvp_AuthNoPerms(); - return; - } - gwvp_goMainPage("gwvp_ModifyUserPageBody"); } @@ -74,7 +69,7 @@ function gwvp_ModifyGroupPage() function gwvp_ModifyUserPageBody() { - error_log("modify user body - coming in"); + //error_log("modify user body - coming in"); if(!gwvp_CheckAuthLevel("admin")) { gwvp_AuthNoPermsBody(); return;