function imagecache_profiles_update_7000 in ImageCache Profiles 7
Updates default user picture variable with module's defined.
File
- ./
imagecache_profiles.install, line 51
Code
function imagecache_profiles_update_7000() {
variable_set('user_picture_style', variable_get('user_picture_imagecache_profiles_default'));
variable_del('user_picture_imagecache_profiles_default');
variable_set('user_picture_style_profiles', variable_get('user_picture_imagecache_profiles'));
variable_del('user_picture_imagecache_profiles');
variable_set('user_picture_style_comments', variable_get('user_picture_imagecache_comments'));
variable_del('user_picture_imagecache_comments');
}