Add User_group::getObjectType
Since 174586bd51
, I'm unable to join groups with the logs complaining
about getObjectType not existing on the User_group object.
This commit is contained in:
parent
2c8536dbf0
commit
d7b58491ce
|
@ -33,6 +33,12 @@ class User_group extends Managed_DataObject
|
|||
/* the code above is auto generated do not remove the tag below */
|
||||
###END_AUTOCODE
|
||||
|
||||
public function getObjectType()
|
||||
{
|
||||
return ActivityObject::GROUP;
|
||||
}
|
||||
|
||||
|
||||
public static function schemaDef()
|
||||
{
|
||||
return array(
|
||||
|
|
Loading…
Reference in New Issue
Block a user