aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2012-06-15 17:55:13 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2012-06-15 17:55:13 +0200
commite75bc90b93afb36d75dd67695eb0f3b9599d7052 (patch)
tree330c5da9fcdea21e11fb6ea00f9d577aad89857e
parent425f301ef3ed02796442c4cff0d33eff25f98edf (diff)
downloadelgg-e75bc90b93afb36d75dd67695eb0f3b9599d7052.tar.gz
elgg-e75bc90b93afb36d75dd67695eb0f3b9599d7052.tar.bz2
added missing library loads
-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();