function imageapi_optimize_update_7001 in Image Optimize (or ImageAPI Optimize) 7.2
Same name and namespace in other branches
- 7 imageapi_optimize.install \imageapi_optimize_update_7001()
If imageapi_optimize_service is set to 'smushit', change it to 'resmushit'
File
- ./
imageapi_optimize.install, line 132 - Install, update and uninstall functions
Code
function imageapi_optimize_update_7001() {
$var = variable_get('imageapi_optimize_service');
if ($var == 'smushit') {
variable_set('imageapi_optimize_service', 'resmushit');
}
}