forked from extern/egroupware
Fixed a few bugs and parse errors
This commit is contained in:
parent
c1ed65b0f3
commit
1434c95e58
@ -64,7 +64,7 @@
|
|||||||
$i++;
|
$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','webcal_entry_user','webcal_entry_repeats',
|
||||||
'webcal_entry_groups');
|
'webcal_entry_groups');
|
||||||
$phpgw->db->lock($table_locks);
|
$phpgw->db->lock($table_locks);
|
||||||
@ -81,7 +81,7 @@
|
|||||||
$phpgw->db->query("delete from todo where owner='$lid'");
|
$phpgw->db->query("delete from todo where owner='$lid'");
|
||||||
$phpgw->db->query("delete from addressbook 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 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->query("delete from profiles where owner='$lid'");
|
||||||
|
|
||||||
$phpgw->db->unlock();
|
$phpgw->db->unlock();
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
</TR>
|
</TR>
|
||||||
|
|
||||||
<?php
|
<?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++) {
|
for($i = 0; $i < count($cal_groups_temp); $i++) {
|
||||||
$cal_groups .= $cal_groups_temp[$i][1] . "<br>\n";
|
$cal_groups .= $cal_groups_temp[$i][1] . "<br>\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user