function user_image_style_save in Drupal 7
Implements hook_image_style_save().
1 call to user_image_style_save()
- user_image_style_delete in modules/
user/ user.module - Implements hook_image_style_delete().
File
- modules/
user/ user.module, line 3738 - Enables the user registration and login system.
Code
function user_image_style_save($style) {
// If a style is renamed, update the variables that use it.
if (isset($style['old_name']) && $style['old_name'] == variable_get('user_picture_style', '')) {
variable_set('user_picture_style', $style['name']);
}
}