function migrate_update_6002 in Migrate 6
Same name and namespace in other branches
- 6.2 migrate.install \migrate_update_6002()
The {node} field for the updated timestamp is actually called 'changed'
File
- ./
migrate.install, line 267 - Implementation of profile destination handling
Code
function migrate_update_6002() {
$ret = array();
$sql = "UPDATE {migrate_content_mappings}\n SET destfield='changed'\n WHERE destfield='updated' AND mcsid IN\n (SELECT mcsid FROM {migrate_content_sets} WHERE contenttype='node')";
$ret[] = update_sql($sql);
return $ret;
}