Remove unused validate() method
This commit is contained in:
parent
41d5792a48
commit
c4496dd920
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -18,10 +18,6 @@ class FormField {
|
||||
$this->value=$val;
|
||||
}
|
||||
|
||||
public function validate() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public function reset() {
|
||||
$this->value="";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user