From b4ea890257641555456fce6f6f32b94709dcf9a1 Mon Sep 17 00:00:00 2001 From: paulr Date: Fri, 4 Nov 2011 03:09:39 +1100 Subject: [PATCH] removed a pointless permission check --- gwvplib/gwvpuseradmin.php | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) 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; -- 1.7.0.4