diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-09 09:59:41 -0800 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-02-09 09:59:41 -0800 |
commit | 0222c589ac7c006c09dca6cea09cae9a1006a0b4 (patch) | |
tree | abff7952999dab1f32a86863958ec3a02c0e8100 /settings/ajax/navigationdetect.php | |
parent | e68cf72458e9cfb888ef8b24d3e255fadf6d18a7 (diff) | |
parent | fba9739448dfca7234c3910f88ce56f0f28e6bad (diff) | |
download | nextcloud-server-0222c589ac7c006c09dca6cea09cae9a1006a0b4.tar.gz nextcloud-server-0222c589ac7c006c09dca6cea09cae9a1006a0b4.zip |
Merge pull request #1546 from owncloud/fix-loading-hooks
Fix loading hooks when going though the routing system
Diffstat (limited to 'settings/ajax/navigationdetect.php')
-rw-r--r-- | settings/ajax/navigationdetect.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/settings/ajax/navigationdetect.php b/settings/ajax/navigationdetect.php index 607c0e873f9..7f961eb9bc5 100644 --- a/settings/ajax/navigationdetect.php +++ b/settings/ajax/navigationdetect.php @@ -6,10 +6,7 @@ OCP\JSON::callCheck(); $app = $_GET['app']; $app = OC_App::cleanAppId($app); -//load the one app and see what it adds to the navigation -OC_App::loadApp($app); - -$navigation = OC_App::getNavigation(); +$navigation = OC_App::getAppNavigationEntries($app); $navIds = array(); foreach ($navigation as $nav) { |