diff options
author | sgiehl <stefan@piwik.org> | 2016-10-31 23:50:52 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-11-01 00:49:35 +0300 |
commit | 473c770898231f5f41048f0010ca616034877809 (patch) | |
tree | 6bdce3a88bb0a3d853383e183b483378d1f6bb6e /plugins/MultiSites | |
parent | f12aed7a025921adcc4d5a7da593ba012c2cdc72 (diff) |
Removes deprecated method MenuAbstract::add
Diffstat (limited to 'plugins/MultiSites')
-rw-r--r-- | plugins/MultiSites/Menu.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MultiSites/Menu.php b/plugins/MultiSites/Menu.php index 8860eacec0..b57e0014c2 100644 --- a/plugins/MultiSites/Menu.php +++ b/plugins/MultiSites/Menu.php @@ -18,6 +18,6 @@ class Menu extends \Piwik\Plugin\Menu $urlParams = $this->urlForActionWithDefaultUserParams('index', array('segment' => false, 'idSite' => false)); $tooltip = Piwik::translate('MultiSites_TopLinkTooltip'); - $menu->add('General_MultiSitesSummary', null, $urlParams, true, 3, $tooltip); + $menu->addItem('General_MultiSitesSummary', null, $urlParams, 3, $tooltip); } } |