function account_edit($account_id, $old_username) { $db_map = new db_mapping(); $db_map->MAP_account_edit($account_id, $old_username); ### Update the groups in the remote db $this->account_group_sync($account_id); }
function account_edit($account_id, $old_username) { $db_map = new db_mapping(); $db_map->MAP_account_edit($account_id, $old_username, $this); ### Update the groups in the remote db if ($this->map['group_type'] != 'none' && $this->map['group_type'] != 'add_remove') { $this->account_group_sync($account_id); } }
function account_edit($account_id, $old_username) { if (MOD_AUTH_MYSQL_PW == 'md5') { $db_map = new db_mapping(); $db_map->MAP_account_edit($account_id, $old_username, $this); } elseif (MOD_AUTH_MYSQL_PW == 'plaintext') { $db_map_misc = new dbmapping_mod_auth_mysql(); $db_map_misc->MAP_account_edit($account_id, $old_username, $this); ### Update the groups in the remote db $this->account_group_sync($account_id); } ### Update the groups in the remote db $this->account_group_sync($account_id); }