mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Replacing use of App::import in favor of App::uses in controller class declaration
This commit is contained in:
parent
da7c53b374
commit
fd639cc956
1 changed files with 4 additions and 4 deletions
|
@ -21,10 +21,10 @@
|
|||
/**
|
||||
* Include files
|
||||
*/
|
||||
App::import('Core', 'CakeResponse', false);
|
||||
App::import('Core', 'ClassRegistry', false);
|
||||
App::import('Controller', 'Component', false);
|
||||
App::import('View', 'View', false);
|
||||
App::uses('CakeResponse', 'Core');
|
||||
App::uses('ClassRegistry', 'Core');
|
||||
App::uses('ComponentCollection', 'Controller');
|
||||
App::uses('View', 'View');
|
||||
|
||||
/**
|
||||
* Controller
|
||||
|
|
Loading…
Reference in a new issue