function image_update_6101 in Image 7
Same name and namespace in other branches
- 6 image.install \image_update_6101()
Ensure that 'image_default_path' variable contains no trailing slash.
File
- ./
image.install, line 339
Code
function image_update_6101() {
$ret = array();
$path = variable_get('image_default_path', NULL);
if (!empty($path)) {
variable_set('image_default_path', rtrim($path, '/'));
}
return $ret;
}