diff options
Diffstat (limited to 'settings/ajax')
-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 abf04805d87..5d3b34e10ef 100644 --- a/settings/ajax/navigationdetect.php +++ b/settings/ajax/navigationdetect.php @@ -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]); |