forked from extern/egroupware
Change to new SQL table
This commit is contained in:
parent
2d3924eed6
commit
10a2004c97
@ -99,10 +99,10 @@
|
||||
. " values('admin','run',".$account[1]["account_id"].",'u',1)";
|
||||
$phpgw_setup->db->query($sql ,__LINE__,__FILE__);
|
||||
|
||||
$phpgw_setup->db->query("SELECT account_id FROM accounts WHERE account_id=" . $account[1]["account_id"]
|
||||
$phpgw_setup->db->query("SELECT account_id FROM phpgw_accounts WHERE account_id=" . $account[1]["account_id"]
|
||||
. " AND account_lid='" . $account[1]["account_lid"] . "'");
|
||||
if(!$phpgw_setup->db->num_rows() && $account[1]["account_lid"]) {
|
||||
$phpgw_setup->db->query("insert into accounts (account_id,account_lid,account_pwd,"
|
||||
$phpgw_setup->db->query("insert into phpgw_accounts (account_id,account_lid,account_pwd,"
|
||||
. "account_groups,account_status,account_lastpwd_change) values (" . $account[1]["account_id"] . ",'"
|
||||
. $account[1]["account_lid"] . "','x',',1:0,','A',".time().")",__LINE__,__FILE__);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user