You are here

function manualcrop_uninstall in Manual Crop 7

Implements hook_uninstall().

File

./manualcrop.install, line 59
Install, update and uninstall functions for the Manual Crop module.

Code

function manualcrop_uninstall() {
  variable_del('manualcrop_cache_control');
  variable_del('manualcrop_force_effect_order');
  if (module_exists('file_entity') && function_exists('file_type_load_all')) {

    // Remove the settings for individual file types.
    foreach (file_type_load_all() as $type) {
      variable_del('manualcrop_file_entity_settings_' . $type->type);
    }
  }
}