Removed legacy code from site views, that is no longer needed. Resolved gh-612

This commit is contained in:
2020-12-04 01:11:41 +02:00
parent 06c97afa05
commit e7670a1edd
6 changed files with 5 additions and 14 deletions

View File

@ -82,10 +82,7 @@ class ###Component###View###View### extends JViewLegacy
* Setting the toolbar
*/
protected function addToolBar()
{
// adding the joomla edit toolbar to the front
JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');
###ADDTOOLBAR###
{###ADDTOOLBAR###
// now initiate the toolbar
$this->toolbar = JToolbar::getInstance();
}