function account_delete($account_id, $username)
 {
     ###Run any Misc IBF operations before acturally deleteing member
     $db_map_misc = new dbmapping_misc();
     $db_map_misc->MAP_account_delete_misc($account_id, $username, $this);
     ### Delete the member
     $db_map = new db_mapping();
     $db_map->MAP_account_delete($account_id, $username, $this);
 }
Esempio n. 2
0
 function account_delete($account_id, $username)
 {
     $db_map = new db_mapping();
     $remote_account_id = $db_map->MAP_account_delete($account_id, $username, $this);
     ### Update the remote account:
     $dbm = new db_mapping();
     $db2 = $dbm->DB_connect(false, $this->map['map']);
     eval('@$db_prefix = DB2_PREFIX' . strtoupper($this->map['map']) . ';');
     $sql = "DELETE FROM " . $db_prefix . "userfield WHERE userid =  " . $db2->qstr($remote_account_id);
     $group_result = $db2->Execute($sql);
 }
Esempio n. 3
0
 function account_delete($account_id, $username)
 {
     $db_map = new db_mapping();
     $db_map->MAP_account_delete($account_id, $username, $this);
 }