Skip to content

Commit

Permalink
Removing unneeded App::uses() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 19, 2012
1 parent 0f0b5e7 commit d12f50a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/Cake/Model/Validator/CakeValidationRule.php
Expand Up @@ -18,8 +18,7 @@
* @since CakePHP(tm) v 2.2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('ModelValidator', 'Model');
App::uses('CakeValidationSet', 'Model/Validator');

App::uses('Validation', 'Utility');

/**
Expand Down Expand Up @@ -246,7 +245,7 @@ protected function _getPropertiesArray() {
* If called with no parameters it will return whether this rule
* is configured for update operations or not.
*
* @return boolean
* @return boolean
**/
public function isUpdate($exists = null) {
if ($exists === null) {
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Model/Validator/CakeValidationSet.php
Expand Up @@ -18,7 +18,7 @@
* @since CakePHP(tm) v 2.2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
App::uses('ModelValidator', 'Model');

App::uses('CakeValidationRule', 'Model/Validator');

/**
Expand Down

0 comments on commit d12f50a

Please sign in to comment.