removed a pointless permission check
authorpaulr <me@pjr.cc>
Thu, 3 Nov 2011 16:09:39 +0000 (03:09 +1100)
committerpaulr <me@pjr.cc>
Thu, 3 Nov 2011 16:09:39 +0000 (03:09 +1100)
gwvplib/gwvpuseradmin.php

index 268f0b4..d39aeae 100644 (file)
@@ -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;