You are here

dynamic_background_panels.install in Dynamic Background 7

Handles uninstall of the module.

File

modules/dynamic_background_panels/dynamic_background_panels.install
View source
<?php

/**
 * @file
 * Handles uninstall of the module.
 */

/**
 * Implementation of hook_uninstall():
 */
function dynamic_background_panels_uninstall() {

  // Remove settings.
  variable_del('dynamic_background_panels');
}

/**
 * Update the panels configuration variable name to match naming of the other
 * sub-modules.
 */
function dynamic_background_panels_update_7001() {
  $conf = variable_get('dynamic_background_panels', FALSE);
  if ($conf) {
    variable_set('dynamic_background_panels_css', $conf);
    variable_del('dynamic_background_panels');
    variable_del('dynamic_background_panels_image_style');
  }
}

Functions

Namesort descending Description
dynamic_background_panels_uninstall Implementation of hook_uninstall():
dynamic_background_panels_update_7001 Update the panels configuration variable name to match naming of the other sub-modules.