mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Changed @deprecated 2.3 functions to @deprecated 2.4 and throw a notice if they are used
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77370 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5ed5cdd48a
commit
7bf69a8689
@ -70,9 +70,10 @@ abstract class DataObjectDecorator extends Extension {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2.3 Use loadExtraStatics()
|
||||
* @deprecated 2.4 Use loadExtraStatics()
|
||||
*/
|
||||
function loadExtraDBFields() {
|
||||
user_error('DataObjectDecorator::loadExtraDBFields() is deprecated. Please use loadExtraStatics() instead.', E_USER_NOTICE);
|
||||
return $this->loadExtraStatics();
|
||||
}
|
||||
|
||||
@ -148,9 +149,10 @@ abstract class DataObjectDecorator extends Extension {
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 2.3 Use extraStatics()
|
||||
* @deprecated 2.4 Use extraStatics()
|
||||
*/
|
||||
function extraDBFields() {
|
||||
user_error('DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead.', E_USER_NOTICE);
|
||||
return array();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user