Fixed a few bugs and parse errors

This commit is contained in:
jengo 2000-09-18 16:42:24 +00:00
parent c1ed65b0f3
commit 1434c95e58
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@
$i++;
}
$table_locks = array('preferences','todo','addressbook','accounts','users_headlines',
$table_locks = array('preferences','todo','addressbook','accounts',
'webcal_entry','webcal_entry_user','webcal_entry_repeats',
'webcal_entry_groups');
$phpgw->db->lock($table_locks);
@ -81,7 +81,7 @@
$phpgw->db->query("delete from todo where owner='$lid'");
$phpgw->db->query("delete from addressbook where owner='$lid'");
$phpgw->db->query("delete from accounts where loginid='$lid'");
$phpgw->db->query("delete from users_headlines where owner='$lid'");
//$phpgw->db->query("delete from users_headlines where owner='$lid'");
//$phpgw->db->query("delete from profiles where owner='$lid'");
$phpgw->db->unlock();

View File

@ -126,7 +126,7 @@
</TR>
<?php
$cal_groups_temp = $phpgw->accounts->read_group_names($id);
$cal_groups_temp = $phpgw->accounts->read_group_names();
for($i = 0; $i < count($cal_groups_temp); $i++) {
$cal_groups .= $cal_groups_temp[$i][1] . "<br>\n";
}