Replacing use of App::import in favor of App::uses in controller class declaration

This commit is contained in:
José Lorenzo Rodríguez 2010-12-03 17:09:50 -04:30
parent da7c53b374
commit fd639cc956

View file

@ -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