diff --git a/administrator/components/com_cache/Controller/DisplayController.php b/administrator/components/com_cache/Controller/DisplayController.php index 65d3152bb0c5d..07dd644e7d977 100644 --- a/administrator/components/com_cache/Controller/DisplayController.php +++ b/administrator/components/com_cache/Controller/DisplayController.php @@ -62,9 +62,6 @@ public function display($cachable = false, $urlparams = false) // Push document object into the view. $view->document = $document; - // Load the submenu. - CacheHelper::addSubmenu($this->input->get('view', 'cache')); - $view->display(); } } diff --git a/administrator/components/com_cache/Helper/CacheHelper.php b/administrator/components/com_cache/Helper/CacheHelper.php index bad1253cc1dec..7966d034b3388 100644 --- a/administrator/components/com_cache/Helper/CacheHelper.php +++ b/administrator/components/com_cache/Helper/CacheHelper.php @@ -20,32 +20,5 @@ */ class CacheHelper { - /** - * Configure the Linkbar. - * - * @param string $vName The name of the active view. - * - * @return void - * - * @since 1.6 - */ - public static function addSubmenu($vName) - { - \JHtmlSidebar::addEntry( - Text::_('JGLOBAL_SUBMENU_CHECKIN'), - 'index.php?option=com_checkin', - $vName == 'com_checkin' - ); - \JHtmlSidebar::addEntry( - Text::_('JGLOBAL_SUBMENU_CLEAR_CACHE'), - 'index.php?option=com_cache', - $vName == 'cache' - ); - \JHtmlSidebar::addEntry( - Text::_('JGLOBAL_SUBMENU_PURGE_EXPIRED_CACHE'), - 'index.php?option=com_cache&view=purge', - $vName == 'purge' - ); - } } diff --git a/administrator/components/com_cache/View/Cache/HtmlView.php b/administrator/components/com_cache/View/Cache/HtmlView.php index 651a27ed28455..38329dab5696c 100644 --- a/administrator/components/com_cache/View/Cache/HtmlView.php +++ b/administrator/components/com_cache/View/Cache/HtmlView.php @@ -52,7 +52,6 @@ public function display($tpl = null) } $this->addToolbar(); - $this->sidebar = \JHtmlSidebar::render(); parent::display($tpl); } diff --git a/administrator/components/com_cache/View/Purge/HtmlView.php b/administrator/components/com_cache/View/Purge/HtmlView.php index f160be5d72f8e..f6b640ce3e695 100644 --- a/administrator/components/com_cache/View/Purge/HtmlView.php +++ b/administrator/components/com_cache/View/Purge/HtmlView.php @@ -33,7 +33,6 @@ class HtmlView extends BaseHtmlView public function display($tpl = null) { $this->addToolbar(); - $this->sidebar = \JHtmlSidebar::render(); parent::display($tpl); } diff --git a/administrator/components/com_cache/tmpl/cache/default.php b/administrator/components/com_cache/tmpl/cache/default.php index 57ebb1fbede60..169576262d66f 100644 --- a/administrator/components/com_cache/tmpl/cache/default.php +++ b/administrator/components/com_cache/tmpl/cache/default.php @@ -21,10 +21,7 @@ ?>