diff --git a/classes/Managed_DataObject.php b/classes/Managed_DataObject.php index b4eab98f8a..d173deff24 100644 --- a/classes/Managed_DataObject.php +++ b/classes/Managed_DataObject.php @@ -87,9 +87,7 @@ abstract class Managed_DataObject extends Memcached_DataObject */ function table() { - // Hack for PHP 5.2 not supporting late static binding - //$table = static::schemaDef(); - $table = call_user_func(array(get_class($this), 'schemaDef')); + $table = static::schemaDef(); return array_map(array($this, 'columnBitmap'), $table['fields']); }