mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Marked DataObject::has_own_table() as static
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@101782 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
24514eac1b
commit
ec642f1fad
@ -2218,7 +2218,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
* @param string $dataClass
|
||||
* @return bool
|
||||
*/
|
||||
public function has_own_table($dataClass) {
|
||||
public static function has_own_table($dataClass) {
|
||||
|
||||
// The condition below has the same effect as !is_subclass_of($dataClass,'DataObject'),
|
||||
// which causes PHP < 5.3 to segfault in rare circumstances, see PHP bug #46753
|
||||
|
Loading…
x
Reference in New Issue
Block a user