function focal_point_update_7003 in Focal Point 7
Convert the focal_point_use_smart_crop variable to generic default variables.
File
- ./
focal_point.install, line 156 - Install hooks for focal_point.
Code
function focal_point_update_7003() {
if (variable_get('focal_point_use_smart_crop')) {
variable_set('focal_point_default_method', 'smartcrop');
}
variable_del('focal_point_use_smart_crop');
}