Skip to content

Commit

Permalink
Updating model to reflect changes in Validation.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Oct 12, 2009
1 parent 1613b84 commit 7d4bc20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cake/console/libs/tasks/model.php
Expand Up @@ -350,7 +350,9 @@ function doValidation(&$model) {
function initValidations() {
$options = $choices = array();
if (class_exists('Validation')) {
$parent = get_class_methods(get_parent_class('Validation'));
$options = get_class_methods('Validation');
$options = array_diff($options, $parent);
}
sort($options);
$default = 1;
Expand Down

0 comments on commit 7d4bc20

Please sign in to comment.