diff options
Diffstat (limited to 'apps/calendar/lib/app.php')
-rwxr-xr-x | apps/calendar/lib/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index f955c59603d..eb440b5794b 100755 --- a/apps/calendar/lib/app.php +++ b/apps/calendar/lib/app.php @@ -338,7 +338,7 @@ class OC_Calendar_App{ OCP\Response::setETagHeader($calendar['ctag']); $events = OC_Calendar_Object::allInPeriod($calendar_id, $start, $end); } else { - OC_Hook::emit('OC_Calendar', 'getEvents', array('calendar_id' => $calendar_id, 'events' => &$events)); + OCP\Util::emitHook('OC_Calendar', 'getEvents', array('calendar_id' => $calendar_id, 'events' => &$events)); } } return $events; |