Commit d7b58491 authored by Chimo's avatar Chimo

Add User_group::getObjectType

Since 174586bd, I'm unable to join groups with the logs complaining
about getObjectType not existing on the User_group object.
parent 2c8536db
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment