function media_update_7209 in D7 Media 7.3
Same name and namespace in other branches
- 7.4 media.install \media_update_7209()
- 7.2 media.install \media_update_7209()
Enable the hidden media_migrate_file_types module to provide a UI to update {file_managed}.type with the new file types provided by file_entity.
File
- ./
media.install, line 944 - Install, update and uninstall functions for the Media module.
Code
function media_update_7209() {
drupal_load('module', 'media_migrate_file_types');
if (_media_migrate_file_types_get_migratable_file_types()) {
module_enable(array(
'media_migrate_file_types',
));
}
}