Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-09 21:59:41 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-09 21:59:41 +0400
commit0222c589ac7c006c09dca6cea09cae9a1006a0b4 (patch)
treeabff7952999dab1f32a86863958ec3a02c0e8100 /settings/ajax
parente68cf72458e9cfb888ef8b24d3e255fadf6d18a7 (diff)
parentfba9739448dfca7234c3910f88ce56f0f28e6bad (diff)
Merge pull request #1546 from owncloud/fix-loading-hooks
Fix loading hooks when going though the routing system
Diffstat (limited to 'settings/ajax')
-rw-r--r--settings/ajax/navigationdetect.php5
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) {