adsense_managed.install in Google AdSense integration 7
Same filename and directory in other branches
Install file of the adsense_managed module.
File
managed/adsense_managed.installView source
<?php
/**
* @file
* Install file of the adsense_managed module.
*/
/**
* Implements hook_uninstall().
*/
function adsense_managed_uninstall() {
variable_del('adsense_managed_async');
variable_del('adsense_managed_number_blocks');
variable_del('adsense_managed_page_level_ads_enabled');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'adsense\\_managed\\_ad\\_block\\_%'");
foreach ($settings as $variable) {
variable_del($variable->name);
}
}
Functions
Name | Description |
---|---|
adsense_managed_uninstall | Implements hook_uninstall(). |