You are here

function scald_video_uninstall in Scald: Media Management made easy 7

Implements hook_uninstall().

File

modules/providers/scald_video/scald_video.install, line 18
Scald Video Installation

Code

function scald_video_uninstall() {
  drupal_load('module', 'scald');

  // If Scald is disabled, its classes are not autoloaded.
  module_load_include('inc', 'scald', 'includes/ScaldAtomController');
  ScaldAtomController::removeType('video');
  variable_del('scald_video_upload_location');
}