staticGet for sub-Managed_DataObject classes now calls parent
The parent class for our database objects, Managed_DataObject, has a dynamically assigned class in staticGet which objects get put into, leaving us with less code to do the same thing. We will probably have to move away from the DB_DataObject 'staticGet' call as it is nowadays deprecated.
This commit is contained in:
@@ -14,10 +14,6 @@ class Group_join_queue extends Managed_DataObject
|
||||
public $group_id;
|
||||
public $created;
|
||||
|
||||
/* Static get */
|
||||
function staticGet($k,$v=null)
|
||||
{ return Memcached_DataObject::staticGet('Group_join_queue',$k,$v); }
|
||||
|
||||
/* Pkey get */
|
||||
function pkeyGet($k)
|
||||
{ return Memcached_DataObject::pkeyGet('Group_join_queue',$k); }
|
||||
|
Reference in New Issue
Block a user