diff options
author | patdenice <patdenice@piwigo.org> | 2010-12-14 13:47:24 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2010-12-14 13:47:24 +0000 |
commit | 731f8888a45d4b48e94bff05187e0e2ca40d4ef5 (patch) | |
tree | 1fc44a3a59beafe636b74127498d0ed62decdc76 /admin/group_list.php | |
parent | bf1aa6fcf1f6d9038a0723e4f0213e416ec5ee62 (diff) |
feature 2060: Remove adviser mode.
First commit: only php files.
git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/group_list.php')
-rw-r--r-- | admin/group_list.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/group_list.php b/admin/group_list.php index d79b3aa9a..a7a8f8a83 100644 --- a/admin/group_list.php +++ b/admin/group_list.php @@ -42,7 +42,7 @@ if (!empty($_POST) or isset($_GET['delete']) or isset($_GET['toggle_is_default'] // | delete a group | // +-----------------------------------------------------------------------+ -if (isset($_GET['delete']) and is_numeric($_GET['delete']) and !is_adviser()) +if (isset($_GET['delete']) and is_numeric($_GET['delete'])) { // destruction of the access linked to the group $query = ' @@ -85,7 +85,7 @@ DELETE // | add a group | // +-----------------------------------------------------------------------+ -if (isset($_POST['submit_add']) and !is_adviser()) +if (isset($_POST['submit_add'])) { if (empty($_POST['groupname'])) { @@ -127,7 +127,7 @@ INSERT INTO '.GROUPS_TABLE.' // | toggle is default group property | // +-----------------------------------------------------------------------+ -if (isset($_GET['toggle_is_default']) and is_numeric($_GET['toggle_is_default']) and !is_adviser()) +if (isset($_GET['toggle_is_default']) and is_numeric($_GET['toggle_is_default'])) { $query = ' SELECT name, is_default |