diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-10-28 18:52:18 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-29 15:04:55 +0100 |
commit | 1bdd0c949bca2f68da0ab3f47efbec10a7e51702 (patch) | |
tree | 62fbadd89e54810cc4c60ba6887cb0bc3e8d28f5 /core | |
parent | ab4ade0d24e9bba51bbdaac9a5fe06a3eff63355 (diff) | |
download | nextcloud-server-1bdd0c949bca2f68da0ab3f47efbec10a7e51702.tar.gz nextcloud-server-1bdd0c949bca2f68da0ab3f47efbec10a7e51702.zip |
Move and fix app setting navigation detect
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/navigationdetect.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/ajax/navigationdetect.php b/core/ajax/navigationdetect.php deleted file mode 100644 index c7d0bd38dbc..00000000000 --- a/core/ajax/navigationdetect.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -$RUNTIME_NOAPPS = true; - -require_once '../../lib/base.php'; - -OC_Util::checkAdminUser(); -OCP\JSON::callCheck(); - -$app = $_GET['app']; - -//load the one app and see what it adds to the navigation -OC_App::loadApp($app); - -$navigation = OC_App::getNavigation(); - -$navIds = array(); -foreach ($navigation as $nav) { - $navIds[] = $nav['id']; -} - -OCP\JSON::success(array('nav_ids' => array_values($navIds), 'nav_entries' => $navigation)); |