diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-04-04 03:10:40 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-04-06 13:17:27 +0300 |
commit | 3a6d626c2474b83ea5c4125fd33dfe12b9e0bf8a (patch) | |
tree | 9de2cd1d85e1f8a7211f0514f8deae2b152faa89 /plugins/CorePluginsAdmin/Controller.php | |
parent | 780c09b144e048cc748429bc06d016354d44746e (diff) |
refs #9354 merge user and admin menu to one single menu
Diffstat (limited to 'plugins/CorePluginsAdmin/Controller.php')
-rw-r--r-- | plugins/CorePluginsAdmin/Controller.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/CorePluginsAdmin/Controller.php b/plugins/CorePluginsAdmin/Controller.php index c9b4a48a7c..f4e171c158 100644 --- a/plugins/CorePluginsAdmin/Controller.php +++ b/plugins/CorePluginsAdmin/Controller.php @@ -57,10 +57,6 @@ class Controller extends Plugin\ControllerAdmin if (!in_array($sort, $this->validSortMethods)) { $sort = $this->defaultSortMethod; } - $mode = Common::getRequestVar('mode', 'admin', 'string'); - if (!in_array($mode, array('user', 'admin'))) { - $mode = 'admin'; - } $view = $this->configureView('@CorePluginsAdmin/marketplace'); @@ -69,7 +65,6 @@ class Controller extends Plugin\ControllerAdmin $showThemes = ($show === 'themes'); $view->plugins = $marketplace->searchPlugins($query, $sort, $showThemes); $view->showThemes = $showThemes; - $view->mode = $mode; $view->query = $query; $view->sort = $sort; $view->installNonce = Nonce::getNonce(static::INSTALL_NONCE); |