function imagecache_profiles_uninstall in ImageCache Profiles 7
Same name and namespace in other branches
- 6 imagecache_profiles.install \imagecache_profiles_uninstall()
Implements hook_uninstall().
Deletes all variables created by the module.
File
- ./
imagecache_profiles.install, line 65
Code
function imagecache_profiles_uninstall() {
$variables = array(
'user_picture_style_profiles',
'user_picture_style_comments',
'user_picture_style_nodes',
'user_picture_imagecache_profiles_min_width',
'user_picture_imagecache_profiles_min_height',
);
foreach ($variables as $var) {
variable_del($var);
}
}