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:
authorThomas Steur <thomas.steur@googlemail.com>2014-05-20 07:44:07 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-05-20 07:44:07 +0400
commit45ae10e999baf0dfa066e5daae00bca824a68191 (patch)
treeb94f42ee5d66e4e1354be5389865af0b0dc507c9 /core/Plugin/ControllerAdmin.php
parentb2cb622bf1ea754a73ce06e165a083e3305aa807 (diff)
refs #5192 introducing a user menu
Diffstat (limited to 'core/Plugin/ControllerAdmin.php')
-rw-r--r--core/Plugin/ControllerAdmin.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Plugin/ControllerAdmin.php b/core/Plugin/ControllerAdmin.php
index 4f8f885ef9..b3799c2ac6 100644
--- a/core/Plugin/ControllerAdmin.php
+++ b/core/Plugin/ControllerAdmin.php
@@ -12,6 +12,7 @@ use Piwik\Config as PiwikConfig;
use Piwik\Config;
use Piwik\Menu\MenuAdmin;
use Piwik\Menu\MenuTop;
+use Piwik\Menu\MenuUser;
use Piwik\Notification;
use Piwik\Notification\Manager as NotificationManager;
use Piwik\Piwik;
@@ -160,7 +161,8 @@ abstract class ControllerAdmin extends Controller
self::notifyWhenTrackingStatisticsDisabled();
self::notifyIfEAcceleratorIsUsed();
- $view->topMenu = MenuTop::getInstance()->getMenu();
+ $view->topMenu = MenuTop::getInstance()->getMenu();
+ $view->userMenu = MenuUser::getInstance()->getMenu();
$view->currentAdminMenuName = MenuAdmin::getInstance()->getCurrentAdminMenuName();
$view->isDataPurgeSettingsEnabled = self::isDataPurgeSettingsEnabled();