projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8536d
)
Add User_group::getObjectType
author
Chimo
<chimo@chromic.org>
Fri, 30 Oct 2015 00:11:57 +0000
(20:11 -0400)
committer
Chimo
<chimo@chromic.org>
Fri, 30 Oct 2015 00:11:57 +0000
(20:11 -0400)
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
patch
|
blob
|
history
diff --git
a/classes/User_group.php
b/classes/User_group.php
index 01437ace39a6b2aa88506990fc5171c5107d9ab7..344394a682052ef9d8d3203f1e41491002881837 100644
(file)
--- 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(