Added some missing App::uses() calls

This commit is contained in:
José Lorenzo Rodríguez 2011-01-28 02:06:30 -04:30
parent 32e0d86976
commit 06fb51f19d
5 changed files with 6 additions and 6 deletions

View file

@ -264,9 +264,7 @@ class DbAcl extends Object implements AclInterface {
*/
function __construct() {
parent::__construct();
if (!class_exists('AclNode')) {
require LIBS . 'model' . DS . 'db_acl.php';
}
App::uses('AclNode', 'Model');
$this->Aro = ClassRegistry::init(array('class' => 'Aro', 'alias' => 'Aro'));
$this->Aco = ClassRegistry::init(array('class' => 'Aco', 'alias' => 'Aco'));
}

View file

@ -19,6 +19,7 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('Component', 'Controller');
App::uses('Router', 'Routing');
App::uses('Security', 'Utility');
App::uses('Debugger', 'Utility');

View file

@ -17,9 +17,7 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
/**
* Load Security class
*/
App::uses('Component', 'Controller');
App::uses('Security', 'Utility');
/**

View file

@ -16,6 +16,8 @@
* @since CakePHP(tm) v 1.2.0.3467
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('Component', 'Controller');
App::uses('Multibyte', 'I18n');
/**

View file

@ -20,6 +20,7 @@ App::uses('Controller', 'Controller');
App::uses('RequestHandlerComponent', 'Controller/Component');
App::uses('CakeRequest', 'Network');
App::uses('CakeResponse', 'Network');
App::uses('Router', 'Routing');
/**
* RequestHandlerTestController class