You are here

function migrate_delete_content_mapping in Migrate 6

Delete the specified content mapping.

Parameters

$mcmid: Unique identifier of the mapping to delete.

1 call to migrate_delete_content_mapping()
migrate_content_set_mappings_submit in ./migrate_pages.inc
Implementation of hook_submit().

File

./migrate.module, line 326
This module provides tools at "administer >> content >> migrate" for analyzing data from various sources and importing them into Drupal tables.

Code

function migrate_delete_content_mapping($mcmid) {
  $sql = "DELETE FROM {migrate_content_mappings} WHERE mcmid=%d";
  db_query($sql, $mcmid);
}