Get sorted navigation list

This commit is contained in:
Robin McCorkell 2015-09-06 23:24:10 +01:00
parent b06bc409e0
commit 227868fe16
1 changed files with 1 additions and 1 deletions

View File

@ -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]);