function media_youtube_update_7203 in Media: YouTube 7.2
Same name and namespace in other branches
- 7.3 media_youtube.install \media_youtube_update_7203()
Remove obsolete variables.
File
- ./
media_youtube.install, line 154 - Install, update and uninstall functions for the Media: YouTube module.
Code
function media_youtube_update_7203() {
foreach (array(
'width',
'height',
'autohide',
'autoplay',
'color',
'enablejsapi',
'loop',
'modestbranding',
'nocookie',
'origin',
'protocol',
'protocol_specify',
'rel',
'showinfo',
'theme',
) as $setting) {
variable_del("media_youtube__{$setting}");
}
}