From cc61a1940bbe3214f23cd3c60f2ffa6c0ceec06e Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Sun, 13 Jun 2004 17:01:14 +0000 Subject: [PATCH] add hook for new events --- calendar/inc/class.bocalendar.inc.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/calendar/inc/class.bocalendar.inc.php b/calendar/inc/class.bocalendar.inc.php index 32a9a6873a..5171b73936 100755 --- a/calendar/inc/class.bocalendar.inc.php +++ b/calendar/inc/class.bocalendar.inc.php @@ -1126,6 +1126,15 @@ $bolink->link('calendar',$event['id'],'projects',$l_cal['project']); } } + + // just a hook + $singleHookValues = array + ( + 'location' => 'updateevent', + 'hookValues' => $event + ); + $GLOBALS['phpgw']->hooks->process($singleHookValues); + if($send_to_ui) { $this->read_sessiondata();