Skip to content
Permalink
Browse files

Updating Validation method extraction.

  • Loading branch information...
markstory committed Oct 7, 2009
1 parent 651a3f1 commit 1110f3e1c229c2c3f1fba4d2e07baa93f4740f0c
Showing with 1 addition and 2 deletions.
  1. +1 −2 cake/console/libs/tasks/model.php
@@ -350,8 +350,7 @@ function doValidation(&$model) {
function initValidations() {
$options = $choices = array();
if (class_exists('Validation')) {
$parent = get_class_methods(get_parent_class('Validation'));
$options = array_diff(get_class_methods('Validation'), $parent);
$options = get_class_methods('Validation');
}
sort($options);
$default = 1;

0 comments on commit 1110f3e

Please sign in to comment.
You can’t perform that action at this time.