diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-06 23:24:10 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-06 23:24:10 +0100 |
commit | 227868fe168529a638dcf2dbff4ff8f44cadc519 (patch) | |
tree | bd9798862bb2ba5be9c0fef9f55be2471feb9e8c /settings | |
parent | b06bc409e072343a69410283e1dcedfb5630572f (diff) | |
download | nextcloud-server-227868fe168529a638dcf2dbff4ff8f44cadc519.tar.gz nextcloud-server-227868fe168529a638dcf2dbff4ff8f44cadc519.zip |
Get sorted navigation list
Diffstat (limited to 'settings')
-rw-r--r-- | settings/ajax/navigationdetect.php | 2 |
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]); |