diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-15 16:55:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15 16:55:12 +0100 |
commit | 14bc9b171427c1512226d5ea402021d8b44ac690 (patch) | |
tree | 1a4b9c64f711becf429f90da69d3d46279c55435 /settings | |
parent | 8a505e8767fe7af62a4e9e8d95ef2e336b05bf61 (diff) | |
parent | e694b30a4f1e1cce6cbca0fcbbfeceee8a16c8f6 (diff) | |
download | nextcloud-server-14bc9b171427c1512226d5ea402021d8b44ac690.tar.gz nextcloud-server-14bc9b171427c1512226d5ea402021d8b44ac690.zip |
Merge pull request #8095 from nextcloud/webapps-capabilities
Expose navigation entries as API endpoint
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 167f819f91e..043e10da559 100644 --- a/settings/ajax/navigationdetect.php +++ b/settings/ajax/navigationdetect.php @@ -23,6 +23,6 @@ OC_Util::checkAdminUser(); OCP\JSON::callCheck(); -$navigation = \OC_App::getNavigation(); +$navigation = \OC::$server->getNavigationManager()->getAll(); OCP\JSON::success(['nav_entries' => $navigation]); |