mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove deprecated Form::FormEncType(), use getEncType() instead
This commit is contained in:
parent
4e355bdb19
commit
63820130c2
@ -748,14 +748,6 @@ class Form extends RequestHandler {
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @deprecated 3.0 Please use {@link getEncType}.
|
|
||||||
*/
|
|
||||||
public function FormEncType() {
|
|
||||||
Deprecation::notice('3.0', 'Please use Form->getEncType() instead.');
|
|
||||||
return $this->getEncType();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the real HTTP method for the form:
|
* Returns the real HTTP method for the form:
|
||||||
* GET, POST, PUT, DELETE or HEAD.
|
* GET, POST, PUT, DELETE or HEAD.
|
||||||
|
Loading…
Reference in New Issue
Block a user