function scald_image_uninstall in Scald: Media Management made easy 7
Same name and namespace in other branches
- 6 scald_image/scald_image.install \scald_image_uninstall()
Implements hook_uninstall().
File
- modules/
providers/ scald_image/ scald_image.install, line 31 - Scald Images Installation
Code
function scald_image_uninstall() {
drupal_load('module', 'scald');
// If Scald is disabled, its classes are not autoloaded.
module_load_include('inc', 'scald', 'includes/ScaldAtomController');
ScaldAtomController::removeType('image');
}