diff --git a/administrator/components/com_contact/View/Contacts/HtmlView.php b/administrator/components/com_contact/View/Contacts/HtmlView.php index c40fa068c71e3..e321c9506d46a 100644 --- a/administrator/components/com_contact/View/Contacts/HtmlView.php +++ b/administrator/components/com_contact/View/Contacts/HtmlView.php @@ -20,7 +20,6 @@ use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView; use Joomla\CMS\Toolbar\Toolbar; use Joomla\CMS\Toolbar\ToolbarHelper; -use Joomla\Component\Contact\Administrator\Helper\ContactHelper; /** * View class for a list of contacts. @@ -64,13 +63,6 @@ class HtmlView extends BaseHtmlView */ public $activeFilters; - /** - * The sidebar markup - * - * @var string - */ - protected $sidebar; - /** * Display the view. * @@ -80,11 +72,6 @@ class HtmlView extends BaseHtmlView */ public function display($tpl = null) { - if ($this->getLayout() !== 'modal') - { - ContactHelper::addSubmenu('contacts'); - } - $this->items = $this->get('Items'); $this->pagination = $this->get('Pagination'); $this->state = $this->get('State'); @@ -109,7 +96,6 @@ public function display($tpl = null) if ($this->getLayout() !== 'modal') { $this->addToolbar(); - $this->sidebar = \JHtmlSidebar::render(); // We do not need to filter by language when multilingual is disabled if (!Multilanguage::isEnabled()) @@ -223,8 +209,6 @@ protected function addToolbar() } $toolbar->help('JHELP_COMPONENTS_CONTACTS_CONTACTS'); - - HTMLHelper::_('sidebar.setAction', 'index.php?option=com_contact'); } /** diff --git a/administrator/components/com_contact/tmpl/contacts/default.php b/administrator/components/com_contact/tmpl/contacts/default.php index 72551b89ec6ea..26b1f617528dd 100644 --- a/administrator/components/com_contact/tmpl/contacts/default.php +++ b/administrator/components/com_contact/tmpl/contacts/default.php @@ -36,12 +36,7 @@ ?>