summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-09-06 18:03:15 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-09-06 18:03:15 +0200
commitb479f9d570054bc5630a600d9321444216e2e4a2 (patch)
tree4e1b6cc7765f80a2087ea61a7f61f64d4f1dfe34
parent2738aab45b2b42f05f1de2f44ee8e7b3c4ff9ac1 (diff)
downloadnextcloud-server-b479f9d570054bc5630a600d9321444216e2e4a2.tar.gz
nextcloud-server-b479f9d570054bc5630a600d9321444216e2e4a2.zip
remove Admin Panel from the main menu since it's handeld by the new settings page now
-rw-r--r--inc/lib_base.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/inc/lib_base.php b/inc/lib_base.php
index 01c54766fc5..f989bc4dbdf 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('<td class="navigationitemselected"><a href="'.$WEBROOT.'/log">Log</a></td>'); else echo('<td class="navigationitem"><a href="'.$WEBROOT.'/log">Log</a></td>');
if($_SERVER['SCRIPT_NAME']==$WEBROOT.'/settings/index.php') echo('<td class="navigationitemselected"><a href="'.$WEBROOT.'/settings">Settings</a></td>'); else echo('<td class="navigationitem"><a href="'.$WEBROOT.'/settings">Settings</a></td>');
- if(OC_USER::ingroup($_SESSION['username'],'admin')){
- if($_SERVER['SCRIPT_NAME']==$WEBROOT.'/admin/index.php') echo('<td class="navigationitemselected"><a href="'.$WEBROOT.'/admin">Admin Panel</a></td>'); else echo('<td class="navigationitem"><a href="'.$WEBROOT.'/admin">Admin Panel</a></td>');
- }
echo('<td class="navigationitem"><a href="?logoutbutton=1">Logout</a></td>');
echo('</tr></table>');
}