Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating model to reflect changes in Validation.

  • Loading branch information...
commit 7d4bc20fbd00a0b35c92bed5bfcef505a5593dc6 1 parent 1613b84
@markstory markstory authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  cake/console/libs/tasks/model.php
View
2  cake/console/libs/tasks/model.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.