From 731f8888a45d4b48e94bff05187e0e2ca40d4ef5 Mon Sep 17 00:00:00 2001 From: patdenice Date: Tue, 14 Dec 2010 13:47:24 +0000 Subject: feature 2060: Remove adviser mode. First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/profile.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'admin/profile.php') diff --git a/admin/profile.php b/admin/profile.php index ebb372518..7b0ad707c 100644 --- a/admin/profile.php +++ b/admin/profile.php @@ -33,10 +33,7 @@ if (!empty($_POST)) include_once(PHPWG_ROOT_PATH.'profile.php'); $errors = array(); -if ( !is_adviser() ) -{ - save_profile_from_post($edit_user, $errors); -} +save_profile_from_post($edit_user, $errors); load_profile_in_template( get_root_url().'admin.php?page=profile&user_id='.$edit_user['id'], -- cgit v1.2.3