function image_fupload_uninstall in Image FUpload 6.3
Same name and namespace in other branches
- 6 image_fupload.install \image_fupload_uninstall()
- 6.2 image_fupload.install \image_fupload_uninstall()
Implementation of hook_uninstall().
File
- ./
image_fupload.install, line 31
Code
function image_fupload_uninstall() {
// remove all used variables
$variables = array(
'fupload_title_replacements',
'fupload_previewlist_img_attributes',
'fupload_previewlist_field_settings',
'image_node_types',
);
for ($i = 0; $i < count($variables); $i++) {
variable_del($variables[$i]);
}
// drop our image preview table
drupal_uninstall_schema('image_fupload');
}