MINOR Marked DataObject::has_own_table() as static (from r101782)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112034 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-13 01:06:47 +00:00
parent aa5fc3d80e
commit dad17e2330

View File

@ -2269,7 +2269,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