mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user