diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-11 10:18:29 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-11 10:18:29 +0000 |
commit | bf1e40afcf8da4ea6e9d663531dfe3bc934483dc (patch) | |
tree | 374a9b640ab1cf21948fc466eeecda4c826882b7 /engine/lib/group.php | |
parent | b805a9bd7f1356e66fed15ced2c591cf4e9071fc (diff) | |
download | elgg-bf1e40afcf8da4ea6e9d663531dfe3bc934483dc.tar.gz elgg-bf1e40afcf8da4ea6e9d663531dfe3bc934483dc.tar.bz2 |
Added a search submenu.
git-svn-id: https://code.elgg.org/elgg/trunk@1819 36083f99-b078-4883-b0ff-0f9b5a30f544
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 |