Skip to content
Browse files

MINOR Using Deprecation::notice() for deprecated method in ViewableData

  • Loading branch information...
1 parent f865891 commit fa764c72b4af4f7238f023195aaebeefa90fe1ab @halkyon halkyon committed May 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 view/ViewableData.php
View
2 view/ViewableData.php
@@ -227,7 +227,7 @@ public function setCustomisedObj(ViewableData $object) {
* @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);
}

0 comments on commit fa764c7

Please sign in to comment.
Something went wrong with that request. Please try again.