Get sorted navigation list

remotes/origin/db-empty-migrate
Robin McCorkell 2015-09-06 23:24:10 +07:00
parent b06bc409e0
commit 227868fe16
1 changed files with 1 additions and 1 deletions

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