diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 21:42:25 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-08-08 21:43:31 +0200 |
commit | e6f6d3dabccb5f9fd42d7f0f609107a9023fc4d3 (patch) | |
tree | b99446ea286dd9df0275500c1798eb1654aadb01 /help | |
parent | 7820e8959c1764f6260005ff8aeca41ca13c3e8e (diff) | |
download | nextcloud-server-e6f6d3dabccb5f9fd42d7f0f609107a9023fc4d3.tar.gz nextcloud-server-e6f6d3dabccb5f9fd42d7f0f609107a9023fc4d3.zip |
dont use a different navigation page for settings stuff
Diffstat (limited to 'help')
-rw-r--r-- | help/appinfo/app.php | 9 |
1 files changed, 0 insertions, 9 deletions
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 ); -} - ?> |