db->query('update phpgw_accounts set account_lastloginfrom=' . $GLOBALS['phpgw']->db->quote($ip).', account_lastlogin=' . time() . ' where account_id='.(int)$account_id,__LINE__,__FILE__); } } ?>