function media_update_update_7100 in Media Update 7.2
Same name and namespace in other branches
- 7 media_update.install \media_update_update_7100()
Converts the old variable settings to the new settings format.
File
- ./
media_update.install, line 19 - Install file for the media_update module.
Code
function media_update_update_7100() {
$media_update_settings = variable_get('media_update', array(
'replace' => 0,
));
if (isset($media_update_settings['media_update']) && $media_update_settings['media_update']) {
variable_set('media_update_replace_same', 1);
}
variable_del('media_update');
}