Updating Validation method extraction.

This commit is contained in:
mark_story 2009-10-07 00:51:55 -04:00
parent 651a3f16b2
commit 1110f3e1c2

View file

@ -350,8 +350,7 @@ class ModelTask extends Shell {
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;