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
path: root/core/Menu
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2016-09-01 09:28:13 +0300
committerGitHub <noreply@github.com>2016-09-01 09:28:13 +0300
commit9efc7341f98058bbe37f70d0a93e9ea47d7caf4c (patch)
tree7373a34dc9dc8850f70c315d597933e3f03f0766 /core/Menu
parentca0bc1077618db213ffa2e83959c2c47cec9357e (diff)
Remove deprecated events (#10455)
* remove some deprecated events * fix unit tests wants to establish a DB connection, read it from cache * fix possible bug * fix some integration tests * fix tests * fix category was not set * fix some tests * fix integration test * trying to fix pivot tests * add new events * update submodule
Diffstat (limited to 'core/Menu')
-rw-r--r--core/Menu/MenuAdmin.php6
-rw-r--r--core/Menu/MenuTop.php6
2 files changed, 0 insertions, 12 deletions
diff --git a/core/Menu/MenuAdmin.php b/core/Menu/MenuAdmin.php
index e13dfe2c6f..48951171b2 100644
--- a/core/Menu/MenuAdmin.php
+++ b/core/Menu/MenuAdmin.php
@@ -128,12 +128,6 @@ class MenuAdmin extends MenuAbstract
{
if (!$this->menu) {
- /**
- * @ignore
- * @deprecated
- */
- Piwik::postEvent('Menu.Admin.addItems', array());
-
foreach ($this->getAllMenus() as $menu) {
$menu->configureAdminMenu($this);
}
diff --git a/core/Menu/MenuTop.php b/core/Menu/MenuTop.php
index 47a62640fb..bd97c1b84a 100644
--- a/core/Menu/MenuTop.php
+++ b/core/Menu/MenuTop.php
@@ -66,12 +66,6 @@ class MenuTop extends MenuAbstract
{
if (!$this->menu) {
- /**
- * @ignore
- * @deprecated
- */
- Piwik::postEvent('Menu.Top.addItems', array());
-
foreach ($this->getAllMenus() as $menu) {
$menu->configureTopMenu($this);
}