From 700ffec5ab69de38539d6c0ffd019146ac19737f Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 21:29:37 -0400 Subject: Rename base validator class --- app/Validator/Base.php | 54 -------------------------------------------------- 1 file changed, 54 deletions(-) delete mode 100644 app/Validator/Base.php (limited to 'app/Validator/Base.php') diff --git a/app/Validator/Base.php b/app/Validator/Base.php deleted file mode 100644 index ba32a503..00000000 --- a/app/Validator/Base.php +++ /dev/null @@ -1,54 +0,0 @@ -$method($values); - - if (! $result) { - break; - } - } - - return array($result, $errors); - } - - /** - * Common password validation rules - * - * @access protected - * @return array - */ - protected function commonPasswordValidationRules() - { - return array( - new Validators\Required('password', t('The password is required')), - new Validators\MinLength('password', t('The minimum length is %d characters', 6), 6), - new Validators\Required('confirmation', t('The confirmation is required')), - new Validators\Equals('password', 'confirmation', t('Passwords don\'t match')), - ); - } -} -- cgit v1.2.3