Remove unused validate() method

This commit is contained in:
Nero 2019-08-15 21:11:39 +00:00
parent 41d5792a48
commit c4496dd920
2 changed files with 0 additions and 8 deletions

View File

@ -10,8 +10,4 @@ class FileUpload extends FormField {
$this->value=$_FILES[$name]['name'];
$this->file=$_FILES[$name]['tmp_name'];
}
public function validate() {
return ($this->error==0);
}
}

View File

@ -18,10 +18,6 @@ class FormField {
$this->value=$val;
}
public function validate() {
return true;
}
public function reset() {
$this->value="";
}