You are here

function privatemsg_migrate_delete_privatemsg in Migrate Extras 6

Implementation of hook_migrate_delete().

File

./privatemsg.migrate.inc, line 137
Integrates privatemsg module with the migrate module

Code

function privatemsg_migrate_delete_privatemsg($mid) {

  //privatemsg_thread_change_delete($mid, 1, $)
  db_query("DELETE FROM {pm_index} WHERE mid = %d", $mid);
  db_query("DELETE FROM {pm_message} WHERE mid = %d", $mid);
}