fix for deleteaccount

This commit is contained in:
skeeter 2001-02-13 00:18:41 +00:00
parent b1aa198c23
commit d9558f0417
2 changed files with 4 additions and 4 deletions

View File

@ -297,8 +297,8 @@
$table_locks = array('preferences','todo','addressbook','accounts');
include($phpgw_info["server"]["server_root"]."/calendar/inc/functions.inc.php");
$phpgw->calendar->delete($lid);
$cal = CreateObject('calendar.calendar');
$cal->delete($lid);
$phpgw->db->lock($table_locks);

View File

@ -151,8 +151,8 @@
$table_locks = array('preferences','todo','addressbook','accounts');
include($phpgw_info["server"]["server_root"]."/calendar/inc/functions.inc.php");
$phpgw->calendar->delete($lid);
$cal = CreateObject('calendar.calendar');
$cal->delete($lid);
$phpgw->db->lock($table_locks);