summaryrefslogtreecommitdiffstats
path: root/migrate.module
diff options
context:
space:
mode:
authorMike Ryan2009-12-08 01:12:56 +0000
committerMike Ryan2009-12-08 01:12:56 +0000
commitddaf2e894f5ca137aa99796cd7f2e43087c3b787 (patch)
tree7106f6d8f255ec77f629d22e48cfa7ff221ca3ee /migrate.module
parent561f3e4e1bc63b6462efffba4d48194ca1332a0f (diff)
#649368 by mikeryan - Add -all option to drush commands
Diffstat (limited to 'migrate.module')
-rwxr-xr-xmigrate.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/migrate.module b/migrate.module
index 44f6289..cf205e3 100755
--- a/migrate.module
+++ b/migrate.module
@@ -926,6 +926,8 @@ function migrate_content_process_all(&$messages = array(), &$options = array())
function migrate_content_set_update($mcsid) {
$maptable = migrate_map_table_name($mcsid);
db_query('UPDATE {' . $maptable . '} SET needs_update=1');
+ $msgtable = migrate_message_table_name($mcsid);
+ db_query('TRUNCATE TABLE {' . $msgtable . '}');
}
/**