From b479f9d570054bc5630a600d9321444216e2e4a2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 6 Sep 2010 18:03:15 +0200 Subject: [PATCH] remove Admin Panel from the main menu since it's handeld by the new settings page now --- inc/lib_base.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/inc/lib_base.php b/inc/lib_base.php index 01c54766fc..f989bc4dbd 100644 --- a/inc/lib_base.php +++ b/inc/lib_base.php @@ -286,9 +286,6 @@ class OC_UTIL { if($_SERVER['SCRIPT_NAME']==$WEBROOT.'/log/index.php') echo('Log'); else echo('Log'); if($_SERVER['SCRIPT_NAME']==$WEBROOT.'/settings/index.php') echo('Settings'); else echo('Settings'); - if(OC_USER::ingroup($_SESSION['username'],'admin')){ - if($_SERVER['SCRIPT_NAME']==$WEBROOT.'/admin/index.php') echo('Admin Panel'); else echo('Admin Panel'); - } echo('Logout'); echo(''); }