From: Kevin Jardine Date: Fri, 15 Jun 2012 15:55:13 +0000 (+0200) Subject: added missing library loads X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e75bc90b93afb36d75dd67695eb0f3b9599d7052;p=lorea%2Felgg.git added missing library loads --- 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();