aboutsummaryrefslogtreecommitdiffstats
path: root/admin/menubar.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-12-14 13:47:24 +0000
committerpatdenice <patdenice@piwigo.org>2010-12-14 13:47:24 +0000
commit731f8888a45d4b48e94bff05187e0e2ca40d4ef5 (patch)
tree1fc44a3a59beafe636b74127498d0ed62decdc76 /admin/menubar.php
parentbf1aa6fcf1f6d9038a0723e4f0213e416ec5ee62 (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/menubar.php')
-rw-r--r--admin/menubar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/menubar.php b/admin/menubar.php
index 1449b4510..65f2bfea3 100644
--- a/admin/menubar.php
+++ b/admin/menubar.php
@@ -64,7 +64,7 @@ foreach ($mb_conf as $id => $pos)
unset($mb_conf[$id]);
}
-if ( isset($_POST['reset']) and !is_adviser())
+if ( isset($_POST['reset']))
{
$mb_conf = array();
$query = '
@@ -85,7 +85,7 @@ foreach ($reg_blocks as $id => $block)
}
-if ( isset($_POST['submit']) and !is_adviser() )
+if ( isset($_POST['submit']) )
{
foreach ( $mb_conf as $id => $pos )
{