diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-05 10:18:45 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-05 10:18:45 +0200 |
commit | 9bcc5c11a8785a567ded6c0e4ab3a40966785606 (patch) | |
tree | cb50df0695f11fb8132a35e214caa8cd211bb9a2 /apps/calendar/index.php | |
parent | 4a89eb77c1732a49075d4f3f6a46ddaad10eef70 (diff) | |
download | nextcloud-server-9bcc5c11a8785a567ded6c0e4ab3a40966785606.tar.gz nextcloud-server-9bcc5c11a8785a567ded6c0e4ab3a40966785606.zip |
porting the hooks and starting with the templates
Diffstat (limited to 'apps/calendar/index.php')
-rwxr-xr-x | apps/calendar/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php index 3a3915b9669..5aee5f6ace8 100755 --- a/apps/calendar/index.php +++ b/apps/calendar/index.php @@ -25,7 +25,7 @@ foreach($calendars as $calendar){ $eventSources[] = array('url' => '?app=calendar&getfile=ajax/events.php?calendar_id=shared_rw', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable'=>'true'); $eventSources[] = array('url' => '?app=calendar&getfile=ajax/events.php?calendar_id=shared_r', 'backgroundColor' => '#1D2D44', 'borderColor' => '#888', 'textColor' => 'white', 'editable' => 'false'); -OC_Hook::emit('OC_Calendar', 'getSources', array('sources' => &$eventSources)); +OCP\Util::emitHook('OC_Calendar', 'getSources', array('sources' => &$eventSources)); $categories = OC_Calendar_App::getCategoryOptions(); //Fix currentview for fullcalendar |