You are here

function video_s3_uninstall in Video 6.4

Same name and namespace in other branches
  1. 6.5 plugins/video_s3/video_s3.install \video_s3_uninstall()

Implementation of hook_uninstall().

File

plugins/video_s3/video_s3.install, line 103
Provides installation functions for video_s3.module.

Code

function video_s3_uninstall() {
  global $conf;
  drupal_uninstall_schema('video_s3');

  // Delete our variables.
  foreach (array_keys($conf) as $var) {
    if (strpos($var, 'amazon_s3') === 0) {
      variable_del($var);
    }
  }
}