diff options
Diffstat (limited to 'engine/lib/group.php')
-rw-r--r-- | engine/lib/group.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engine/lib/group.php b/engine/lib/group.php index da6876be9..f9bcd4b32 100644 --- a/engine/lib/group.php +++ b/engine/lib/group.php @@ -774,6 +774,16 @@ function get_users_membership($user_guid) { return get_entities_from_relationship('member', $user_guid, true); - } + }
+
+ /**
+ * Performs initialisation functions for groups
+ *
+ */
+ function group_init() {
+ register_entity_type('group','');
+ }
+
+ register_elgg_event_handler('init','system','group_init'); ?>
\ No newline at end of file |