function colorbox_update_7202 in Colorbox 7.2
Update the colorbox_compression_type variable.
File
- ./
colorbox.install, line 130 - Install, update and uninstall functions for the colorbox module.
Code
function colorbox_update_7202() {
$ret = array();
if (variable_get('colorbox_compression_type', 'minified') == 'none') {
variable_set('colorbox_compression_type', 'source');
}
else {
variable_set('colorbox_compression_type', 'minified');
}
return $ret;
}