From bf1e40afcf8da4ea6e9d663531dfe3bc934483dc Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 11 Aug 2008 10:18:29 +0000 Subject: Added a search submenu. git-svn-id: https://code.elgg.org/elgg/trunk@1819 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/group.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'engine/lib/group.php') 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 -- cgit v1.2.3