Skip to content

Commit

Permalink
[4.0] com_users - remove unused addsubmenu
Browse files Browse the repository at this point in the history
Remove unused references to addSubmenu in various views on com_users
  • Loading branch information
brianteeman committed Jun 23, 2019
1 parent 0ecf00c commit a810d8b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions administrator/components/com_users/View/Groups/HtmlView.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Object\CMSObject;
use Joomla\CMS\Toolbar\ToolbarHelper;
use Joomla\Component\Users\Administrator\Helper\UsersHelper;

/**
* View class for a list of user groups.
Expand Down Expand Up @@ -81,8 +80,6 @@ public function display($tpl = null)
$this->filterForm = $this->get('FilterForm');
$this->activeFilters = $this->get('ActiveFilters');

UsersHelper::addSubmenu('groups');

// Check for errors.
if (count($errors = $this->get('Errors')))
{
Expand Down
3 changes: 0 additions & 3 deletions administrator/components/com_users/View/Levels/HtmlView.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Object\CMSObject;
use Joomla\CMS\Toolbar\ToolbarHelper;
use Joomla\Component\Users\Administrator\Helper\UsersHelper;

/**
* View class for a list of view levels.
Expand Down Expand Up @@ -81,8 +80,6 @@ public function display($tpl = null)
$this->filterForm = $this->get('FilterForm');
$this->activeFilters = $this->get('ActiveFilters');

UsersHelper::addSubmenu('levels');

// Check for errors.
if (count($errors = $this->get('Errors')))
{
Expand Down
3 changes: 0 additions & 3 deletions administrator/components/com_users/View/Notes/HtmlView.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
use Joomla\CMS\Toolbar\Toolbar;
use Joomla\CMS\Toolbar\ToolbarHelper;
use Joomla\CMS\User\User;
use Joomla\Component\Users\Administrator\Helper\UsersHelper;
use Joomla\Registry\Registry;

/**
Expand Down Expand Up @@ -96,8 +95,6 @@ public function display($tpl = null)
$this->filterForm = $this->get('FilterForm');
$this->activeFilters = $this->get('ActiveFilters');

UsersHelper::addSubmenu('notes');

// Check for errors.
if (count($errors = $this->get('Errors')))
{
Expand Down
3 changes: 0 additions & 3 deletions administrator/components/com_users/View/Users/HtmlView.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use Joomla\CMS\Object\CMSObject;
use Joomla\CMS\Toolbar\Toolbar;
use Joomla\CMS\Toolbar\ToolbarHelper;
use Joomla\Component\Users\Administrator\Helper\UsersHelper;
use Joomla\Database\DatabaseDriver;

/**
Expand Down Expand Up @@ -103,8 +102,6 @@ public function display($tpl = null)
$this->canDo = ContentHelper::getActions('com_users');
$this->db = Factory::getDbo();

UsersHelper::addSubmenu('users');

// Check for errors.
if (count($errors = $this->get('Errors')))
{
Expand Down

0 comments on commit a810d8b

Please sign in to comment.