reflects table name changes for preferences

This commit is contained in:
skeeter 2001-02-14 04:35:30 +00:00
parent 84a7fb811d
commit 41e4218f0f
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
}
if (! $error) {
$phpgw->db->lock(array('phpgw_accounts','preferences','phpgw_config','phpgw_applications','phpgw_hooks','phpgw_sessions','phpgw_acl'));
$phpgw->db->lock(Array('phpgw_accounts','phpgw_preferences','phpgw_config','phpgw_applications','phpgw_hooks','phpgw_sessions','phpgw_acl'));
$apps = CreateObject('phpgwapi.applications',intval($group_id));
$apps_before = $apps->read_account_specific();
$apps->update_data(Array());

View File

@ -43,7 +43,7 @@
}
if (! $error) {
$phpgw->db->lock(array('phpgw_accounts','preferences','phpgw_config','phpgw_applications','phpgw_hooks','phpgw_sessions','phpgw_acl'));
$phpgw->db->lock(array('phpgw_accounts','phpgw_preferences','phpgw_config','phpgw_applications','phpgw_hooks','phpgw_sessions','phpgw_acl'));
while(1) {
$group_id = mt_rand (1000, 60000);
$phpgw->db->query("SELECT account_id FROM phpgw_accounts WHERE account_id=$group_id",__LINE__,__FILE__);