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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Menu/MenuAdmin.php')
-rw-r--r--core/Menu/MenuAdmin.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Menu/MenuAdmin.php b/core/Menu/MenuAdmin.php
index b187d18eba..0b41bb33c5 100644
--- a/core/Menu/MenuAdmin.php
+++ b/core/Menu/MenuAdmin.php
@@ -85,7 +85,12 @@ class MenuAdmin extends MenuAbstract
* }
*/
Piwik::postEvent('Menu.Admin.addItems', array($this));
+
+ foreach ($this->getAvailableMenus() as $menu) {
+ $menu->configureAdminMenu($this);
+ }
}
+
return parent::getMenu();
}