mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
Get sorted navigation list
This commit is contained in:
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]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue