From e6f6d3dabccb5f9fd42d7f0f609107a9023fc4d3 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 8 Aug 2011 21:42:25 +0200 Subject: dont use a different navigation page for settings stuff --- help/appinfo/app.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'help') diff --git a/help/appinfo/app.php b/help/appinfo/app.php index 2e82c0cd181..372e28c97bd 100644 --- a/help/appinfo/app.php +++ b/help/appinfo/app.php @@ -2,13 +2,4 @@ OC_App::register( array( "order" => 1, "id" => "help", "name" => "Help" )); -// Workaround for having help as the last entry always -$entry = array( "id" => "help", "order" => 1000, "href" => OC_Helper::linkTo( "help", "index.php" ), "name" => "Help", "icon" => OC_Helper::imagePath( "help", "help.png" )); -if( isset( $_SESSION["user_id"] ) && OC_Group::inGroup( $_SESSION["user_id"], "admin" )){ - OC_App::addAdminPage( $entry ); -} -else{ - OC_App::addSettingsPage( $entry ); -} - ?> -- cgit v1.2.3