MINOR: Remove redundant setDisabled() methods - this method already exists in FormField. Fixes E_STRICT notice.

This commit is contained in:
Andrew O'Neil 2012-04-11 16:17:44 +12:00
parent 75c5134bc9
commit f811103243
2 changed files with 0 additions and 13 deletions

View File

@ -133,11 +133,6 @@ class CheckboxSetField extends OptionsetField {
return $this->customise($properties)->renderWith($this->getTemplate());
}
function setDisabled($val) {
$this->disabled = $val;
return $this;
}
/**
* Default selections, regardless of the {@link setValue()} settings.
* Note: Items marked as disabled through {@link setDisabledItems()} can still be

View File

@ -238,12 +238,4 @@ class DropdownField extends FormField {
$field->setReadonly(true);
return $field;
}
/**
* Set form being disabled
*/
function setDisabled($disabled = true) {
$this->disabled = $disabled;
return $this;
}
}