diff options
author | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-22 01:45:50 +0200 |
---|---|---|
committer | Kamil Domanski <kdomanski@kdemail.net> | 2011-06-22 01:45:50 +0200 |
commit | 77f5fa0f078b03b96afe843ece35725a501ebe77 (patch) | |
tree | 1ee3323e7693588cde365a423ce9403cd5c57838 /files | |
parent | 36dbb8edab6de784c45eee688000c5e330e70478 (diff) | |
download | nextcloud-server-77f5fa0f078b03b96afe843ece35725a501ebe77.tar.gz nextcloud-server-77f5fa0f078b03b96afe843ece35725a501ebe77.zip |
fix "files" app admin link visible for non-admins
Diffstat (limited to 'files')
-rw-r--r-- | files/appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |