Author: ralfbecker
New Revision: 25598
URL: http://www.egroupware.org/viewvc?rev=3D25598&view=3Drev
Log:
“reworked calendar update 1.5.002 --> 1.6, to fix the method names in alarms
If you have alarms set and your calendar is already updated to 1.6, you hav=
e to rerun that update by setting the calendar version again to ‘1.5.002’ a=
nd visit setup again:
UPDATE egw_applications SET app_version=3D’1.5.002’ WHERE app_name=3D’calen=
dar’ AND app_version=3D’1.5.002’”
Modified:
trunk/calendar/setup/tables_update.inc.php
Modified: trunk/calendar/setup/tables_update.inc.php
URL: http://www.egroupware.org/viewvc/trunk/calendar/setup/tables_update.in=
c.php?rev=3D25598&r1=3D25597&r2=3D25598&view=3Ddiff
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
— trunk/calendar/setup/tables_update.inc.php (original)
+++ trunk/calendar/setup/tables_update.inc.php Tue Jun 10 06:48:19 2008
@@ -1617,5 +1617,15 @@
function calendar_upgrade1_5_002()
{
- // update the alarm methods
- $async =3D new asyncservice();
- foreach((array)$async->read(‘cal:%’) as $id =3D> $job)
- {
-
if ($job['method'] =3D=3D 'calendar.bocalupdate.send_alarm') -
{ -
$job['method'] =3D 'calendar.calendar_boupdate.send_alarm'; -
$async->write($job,true); -
} - }
return $GLOBALS[‘setup_info’][‘calendar’][‘currentver’] =3D ‘1.6’;
}
Check out the new SourceForge.net Marketplace.
It’s the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs