function migrate_update_6001 in Migrate 6
Same name and namespace in other branches
- 6.2 migrate.install \migrate_update_6001()
Refactoring of content/destination types
File
- ./
migrate.install, line 256 - Implementation of profile destination handling
Code
function migrate_update_6001() {
$ret = array();
// Clear desttype, except for nodes
$sql = "UPDATE {migrate_content_sets} SET desttype='' WHERE contenttype <> 'node'";
$ret = update_sql($sql);
return $ret;
}