TRUE, 'query' => t('%var updated from %value to %presetid', array( '%var' => $var, '%value' => $value, '%presetid' => $preset['presetid'], )) ); } else { $ret[] = array( 'success' => FALSE, 'query' => t('%var not updated: no imagecache preset could be found for %value. Update your profile picture presets manually ', array( '%var' => $var, '%value' => $value, '@settings_page' => url('admin/user/settings'), )) ); } } } return $ret; } /* * Implementation of hook_uninstall * * Delete all the variables created by imagecache_profiles */ function imagecache_profiles_uninstall() { $variables = array( 'user_picture_imagecache_profiles', 'user_picture_imagecache_comments', 'user_picture_imagecache_profiles_default', 'user_picture_imagecache_profiles_min_width', 'user_picture_imagecache_profiles_min_height', ); foreach ($variables as $var) { variable_del($var); } }