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:
Ingo Schommer 2010-03-29 00:42:51 +00:00 committed by Sam Minnee
parent 24514eac1b
commit ec642f1fad

View File

@ -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