You are here

adsense_managed.install in Google AdSense integration 6

Same filename and directory in other branches
  1. 5.3 managed/adsense_managed.install
  2. 7 managed/adsense_managed.install

Install file of the adsense_managed module.

File

managed/adsense_managed.install
View source
<?php

/**
 * @file
 * Install file of the adsense_managed module.
 */

/**
 * Implementation of hook_uninstall().
 */
function adsense_managed_uninstall() {
  variable_del('adsense_managed_number_blocks');
  $settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'adsense\\_managed\\_ad\\_block\\_%'");
  while ($variable = db_fetch_object($settings)) {
    variable_del($variable->name);
  }
}

Functions

Namesort descending Description
adsense_managed_uninstall Implementation of hook_uninstall().