mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing hardcoded helpers from Controller and PagesController class since they are now lazy loaded
This commit is contained in:
parent
f688d5777e
commit
f349c9e34c
2 changed files with 1 additions and 7 deletions
|
@ -38,12 +38,6 @@ class PagesController extends AppController {
|
||||||
*/
|
*/
|
||||||
public $name = 'Pages';
|
public $name = 'Pages';
|
||||||
|
|
||||||
/**
|
|
||||||
* Default helper
|
|
||||||
*
|
|
||||||
* @var array
|
|
||||||
*/
|
|
||||||
public $helpers = array('Html', 'Session');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This controller does not use a model
|
* This controller does not use a model
|
||||||
|
|
|
@ -95,7 +95,7 @@ class Controller extends Object implements CakeEventListener {
|
||||||
* @var mixed A single name as a string or a list of names as an array.
|
* @var mixed A single name as a string or a list of names as an array.
|
||||||
* @link http://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses
|
* @link http://book.cakephp.org/2.0/en/controllers.html#components-helpers-and-uses
|
||||||
*/
|
*/
|
||||||
public $helpers = array('Session', 'Html', 'Form');
|
public $helpers = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An instance of a CakeRequest object that contains information about the current request.
|
* An instance of a CakeRequest object that contains information about the current request.
|
||||||
|
|
Loading…
Reference in a new issue