Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-07 01:24:10 +0300
committerRobin McCorkell <rmccorkell@owncloud.com>2015-09-07 01:24:10 +0300
commit227868fe168529a638dcf2dbff4ff8f44cadc519 (patch)
treebd9798862bb2ba5be9c0fef9f55be2471feb9e8c /settings/ajax
parentb06bc409e072343a69410283e1dcedfb5630572f (diff)
Get sorted navigation list
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/navigationdetect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/navigationdetect.php b/settings/ajax/navigationdetect.php
index abf04805d87..5d3b34e10ef 100644
--- a/settings/ajax/navigationdetect.php
+++ b/settings/ajax/navigationdetect.php
@@ -23,6 +23,6 @@
OC_Util::checkAdminUser();
OCP\JSON::callCheck();
-$navigation = \OC::$server->getNavigationManager()->getAll();
+$navigation = \OC_App::getNavigation();
OCP\JSON::success(['nav_entries' => $navigation]);