Get sorted navigation list
This commit is contained in:
parent
b06bc409e0
commit
227868fe16
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue