From: Chimo Date: Fri, 30 Oct 2015 00:11:57 +0000 (-0400) Subject: Add User_group::getObjectType X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d7b58491ce45b63a62bf11b901de2449afe1a42e;p=quix0rs-gnu-social.git Add User_group::getObjectType Since 174586bd512, I'm unable to join groups with the logs complaining about getObjectType not existing on the User_group object. --- diff --git a/classes/User_group.php b/classes/User_group.php index 01437ace39..344394a682 100644 --- a/classes/User_group.php +++ b/classes/User_group.php @@ -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(