mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Removing deprecated FormField::Name(), use getName() instead
This commit is contained in:
parent
c99ed7dc2b
commit
0d659a5e5a
@ -159,14 +159,6 @@ class FormField extends RequestHandler {
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 3.0 Use {@link getName()}.
|
||||
*/
|
||||
public function Name() {
|
||||
Deprecation::notice('3.0', 'Use getName() instead.');
|
||||
return $this->getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the field message, used by form validation.
|
||||
* Use {@link setError()} to set this property.
|
||||
|
Loading…
x
Reference in New Issue
Block a user