summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-06 23:24:10 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-09-06 23:24:10 +0100
commit227868fe168529a638dcf2dbff4ff8f44cadc519 (patch)
treebd9798862bb2ba5be9c0fef9f55be2471feb9e8c /settings/ajax
parentb06bc409e072343a69410283e1dcedfb5630572f (diff)
downloadnextcloud-server-227868fe168529a638dcf2dbff4ff8f44cadc519.tar.gz
nextcloud-server-227868fe168529a638dcf2dbff4ff8f44cadc519.zip
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]);