function lightbox2_update_6002 in Lightbox2 6
Same name and namespace in other branches
- 8 lightbox2.install \lightbox2_update_6002()
- 7.2 lightbox2.install \lightbox2_update_6002()
- 7 lightbox2.install \lightbox2_update_6002()
'lightbox2_slideshow_pause_on_previous_click' was mis-named as 'lightbox2_slideshow_pause_on_prev_click'.
File
- ./
lightbox2.install, line 185 - Installation functions for Lightbox2.
Code
function lightbox2_update_6002() {
$vars = variable_init();
if (array_key_exists('lightbox2_slideshow_pause_on_prev_click', $vars)) {
$value = $vars['lightbox2_slideshow_pause_on_prev_click'];
variable_set('lightbox2_slideshow_pause_on_previous_click', $value);
variable_del('lightbox2_slideshow_pause_on_prev_click');
}
return array();
}