aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--start.php2
1 files changed, 2 insertions, 0 deletions
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();