forked from GNUsocial/gnu-social
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:
@@ -17,10 +17,6 @@ class Oauth_application_user extends Managed_DataObject
|
||||
public $created; // datetime not_null
|
||||
public $modified; // timestamp not_null default_CURRENT_TIMESTAMP
|
||||
|
||||
/* Static get */
|
||||
function staticGet($k,$v=NULL) {
|
||||
return Memcached_DataObject::staticGet('Oauth_application_user',$k,$v);
|
||||
}
|
||||
/* the code above is auto generated do not remove the tag below */
|
||||
###END_AUTOCODE
|
||||
|
||||
|
Reference in New Issue
Block a user