Skip to content

Commit

Permalink
[Code Style]Clean up com_config frontend.
Browse files Browse the repository at this point in the history
  • Loading branch information
roland-d committed Oct 12, 2014
1 parent 3a662c8 commit 2f9a812
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion components/com_config/controller/cmsbase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @package Joomla.Site
* @subpackage com_config
* @since 3.2
*/
*/
class ConfigControllerCmsbase extends JControllerBase
{
/**
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/config/display.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @package Joomla.Site
* @subpackage com_config
* @since 3.2
*/
*/
class ConfigControllerConfigDisplay extends ConfigControllerDisplay
{
/**
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/config/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @package Joomla.Site
* @subpackage com_config
* @since 3.2
*/
*/
class ConfigControllerConfigSave extends JControllerBase
{
/**
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/display.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @package Joomla.Site
* @subpackage com_config
* @since 3.2
*/
*/
class ConfigControllerDisplay extends JControllerBase
{
/**
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @package Joomla.Site
* @subpackage com_config
* @since 3.2
*/
*/
class ConfigControllerHelper
{
/**
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/templates/display.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @package Joomla.Site
* @subpackage com_config
* @since 3.2
*/
*/
class ConfigControllerTemplatesDisplay extends ConfigControllerDisplay
{
/**
Expand Down
2 changes: 1 addition & 1 deletion components/com_config/controller/templates/save.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @package Joomla.Site
* @subpackage com_config
* @since 3.2
*/
*/
class ConfigControllerTemplatesSave extends JControllerBase
{
/**
Expand Down
1 change: 0 additions & 1 deletion components/com_config/model/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ protected function loadForm($name, $source = null, $options = array(), $clear =

// Load the data into the form after the plugins have operated.
$form->bind($data);

}
catch (Exception $e)
{
Expand Down
6 changes: 0 additions & 6 deletions components/com_config/view/cms/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,6 @@ public function loadTemplate($tpl = null)
$lang->load('tpl_' . $template, JPATH_BASE, null, false, true)
|| $lang->load('tpl_' . $template, JPATH_THEMES . "/$template", null, false, true);

// Change the template folder if alternative layout is in different template
/* if (isset($layoutTemplate) && $layoutTemplate != '_' && $layoutTemplate != $template)
{
$this->_path['template'] = str_replace($template, $layoutTemplate, $this->_path['template']);
} */

// Prevents adding path twise
if (empty($this->_path['template']))
{
Expand Down

0 comments on commit 2f9a812

Please sign in to comment.