From e75bc90b93afb36d75dd67695eb0f3b9599d7052 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Fri, 15 Jun 2012 17:55:13 +0200 Subject: added missing library loads --- start.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'start.php') diff --git a/start.php b/start.php index 6d346b743..ebd88d541 100644 --- a/start.php +++ b/start.php @@ -386,6 +386,7 @@ function event_calendar_entity_menu_prepare($hook, $type, $return, $params) { } function event_calendar_handle_join($event, $object_type, $object) { + elgg_load_library('elgg:event_calendar'); $group = $object['group']; $user = $object['user']; $user_guid = $user->getGUID(); @@ -397,6 +398,7 @@ function event_calendar_handle_join($event, $object_type, $object) { } function event_calendar_handle_leave($event, $object_type, $object) { + elgg_load_library('elgg:event_calendar'); $group = $object['group']; $user = $object['user']; $user_guid = $user->getGUID(); -- cgit v1.2.3