From a40100c03f7696a7cb5adc0ecb4ed2b81a1ed073 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 15 Jul 2010 09:18:05 +0000 Subject: [PATCH] Part of the last commit belongs on this one. Move the user, email, and password stuff ot of user_personal.php --- user_personal.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/user_personal.php b/user_personal.php index 8d85e26..44d9e6b 100644 --- a/user_personal.php +++ b/user_personal.php @@ -88,12 +88,6 @@ if($eid != $_SESSION['users_id']) { user_personal_required_fields($r)); } - if($_SESSION['superuser'] == 'yes') { - /* If the editer is super, let them see/edit/save the user/pass */ - $fields[] = 'username'; - $fields[] = 'password'; - } - switch($_GET['action']) { case 'save': $users_id = intval($_POST['users_id']);