Removed legacy code from site views, that is no longer needed. Resolved gh-612
This commit is contained in:
parent
06c97afa05
commit
e7670a1edd
@ -148,7 +148,7 @@ TODO
|
|||||||
+ *Version*: 2.12.1
|
+ *Version*: 2.12.1
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **289034**
|
+ *Line count*: **289032**
|
||||||
+ *Field count*: **1537**
|
+ *Field count*: **1537**
|
||||||
+ *File count*: **1880**
|
+ *File count*: **1880**
|
||||||
+ *Folder count*: **304**
|
+ *Folder count*: **304**
|
||||||
|
@ -148,7 +148,7 @@ TODO
|
|||||||
+ *Version*: 2.12.1
|
+ *Version*: 2.12.1
|
||||||
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
+ *Copyright*: Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||||
+ *Line count*: **289034**
|
+ *Line count*: **289032**
|
||||||
+ *Field count*: **1537**
|
+ *Field count*: **1537**
|
||||||
+ *File count*: **1880**
|
+ *File count*: **1880**
|
||||||
+ *Folder count*: **304**
|
+ *Folder count*: **304**
|
||||||
|
@ -82,10 +82,7 @@ class ###Component###View###View### extends JViewLegacy
|
|||||||
* Setting the toolbar
|
* Setting the toolbar
|
||||||
*/
|
*/
|
||||||
protected function addToolBar()
|
protected function addToolBar()
|
||||||
{
|
{###ADDTOOLBAR###
|
||||||
// adding the joomla edit toolbar to the front
|
|
||||||
JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');
|
|
||||||
###ADDTOOLBAR###
|
|
||||||
// now initiate the toolbar
|
// now initiate the toolbar
|
||||||
$this->toolbar = JToolbar::getInstance();
|
$this->toolbar = JToolbar::getInstance();
|
||||||
}
|
}
|
||||||
|
@ -46,9 +46,7 @@ class ###Component###View###SViews### extends JViewLegacy
|
|||||||
* Setting the toolbar
|
* Setting the toolbar
|
||||||
*/
|
*/
|
||||||
protected function addToolBar()
|
protected function addToolBar()
|
||||||
{
|
{###SITE_CUSTOM_BUTTONS###
|
||||||
// adding the joomla toolbar to the front
|
|
||||||
JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');###SITE_CUSTOM_BUTTONS###
|
|
||||||
|
|
||||||
// set help url for this view if found
|
// set help url for this view if found
|
||||||
$help_url = ###Component###Helper::getHelpUrl('###sviews###');
|
$help_url = ###Component###Helper::getHelpUrl('###sviews###');
|
||||||
|
@ -46,9 +46,7 @@ class ###Component###View###SView### extends JViewLegacy
|
|||||||
* Setting the toolbar
|
* Setting the toolbar
|
||||||
*/
|
*/
|
||||||
protected function addToolBar()
|
protected function addToolBar()
|
||||||
{
|
{###SITE_CUSTOM_BUTTONS###
|
||||||
// adding the joomla toolbar to the front
|
|
||||||
JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');###SITE_CUSTOM_BUTTONS###
|
|
||||||
|
|
||||||
// set help url for this view if found
|
// set help url for this view if found
|
||||||
$help_url = ###Component###Helper::getHelpUrl('###sview###');
|
$help_url = ###Component###Helper::getHelpUrl('###sview###');
|
||||||
|
@ -85,8 +85,6 @@ class ComponentbuilderViewApi extends JViewLegacy
|
|||||||
*/
|
*/
|
||||||
protected function addToolBar()
|
protected function addToolBar()
|
||||||
{
|
{
|
||||||
// adding the joomla toolbar to the front
|
|
||||||
JLoader::register('JToolbarHelper', JPATH_ADMINISTRATOR.'/includes/toolbar.php');
|
|
||||||
|
|
||||||
// set help url for this view if found
|
// set help url for this view if found
|
||||||
$help_url = ComponentbuilderHelper::getHelpUrl('api');
|
$help_url = ComponentbuilderHelper::getHelpUrl('api');
|
||||||
|
Loading…
Reference in New Issue
Block a user