From 77f5fa0f078b03b96afe843ece35725a501ebe77 Mon Sep 17 00:00:00 2001 From: Kamil Domanski Date: Wed, 22 Jun 2011 01:45:50 +0200 Subject: [PATCH] fix "files" app admin link visible for non-admins --- files/appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/appinfo/app.php b/files/appinfo/app.php index bf67812cf38..06ca16e82d4 100644 --- a/files/appinfo/app.php +++ b/files/appinfo/app.php @@ -3,7 +3,7 @@ OC_APP::register( array( "order" => 2, "id" => "files", "name" => "Files" )); OC_APP::addNavigationEntry( array( "id" => "files_index", "order" => 1, "href" => OC_HELPER::linkTo( "files", "index.php" ), "icon" => OC_HELPER::imagePath( "files", "home.png" ), "name" => "Files" )); -OC_APP::addSettingsPage( array( "id" => "files_administration", "order" => 1, "href" => OC_HELPER::linkTo( "files", "admin.php" ), "name" => "Files", "icon" => OC_HELPER::imagePath( "files", "folder.png" ))); +OC_APP::addAdminPage( array( "id" => "files_administration", "order" => 3, "href" => OC_HELPER::linkTo( "files", "admin.php" ), "name" => "Files", "icon" => OC_HELPER::imagePath( "files", "folder.png" ))); // To add navigation sub entries use