From d7b58491ce45b63a62bf11b901de2449afe1a42e Mon Sep 17 00:00:00 2001 From: Chimo Date: Thu, 29 Oct 2015 20:11:57 -0400 Subject: [PATCH] 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. --- classes/User_group.php | 6 ++++++ 1 file changed, 6 insertions(+) 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(