mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Using Deprecation::notice() for deprecated method in ViewableData
This commit is contained in:
parent
f865891737
commit
fa764c72b4
@ -227,7 +227,7 @@ class ViewableData extends Object implements IteratorAggregate {
|
|||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function castingHelperPair($field) {
|
public function castingHelperPair($field) {
|
||||||
user_error("castingHelperPair() Deprecated, use castingHelper() instead", E_USER_NOTICE);
|
Deprecation::notice('2.5', 'use castingHelper() instead');
|
||||||
return $this->castingHelper($field);
|
return $this->castingHelper($field);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user