adsense_cse.install in Google AdSense integration 7
Same filename and directory in other branches
Install file of the adsense_cse module.
File
cse/adsense_cse.installView source
<?php
/**
* @file
* Install file of the adsense_cse module.
*/
/**
* Implements hook_uninstall().
*/
function adsense_cse_uninstall() {
variable_del('adsense_cse_ad_location');
variable_del('adsense_cse_color_box_background');
variable_del('adsense_cse_country');
variable_del('adsense_cse_encoding');
variable_del('adsense_cse_frame_width');
variable_del('adsense_cse_logo');
variable_del('adsense_cse_number_blocks');
variable_del('adsense_cse_textbox_length');
variable_del('adsense_cse_language');
$settings = db_query("SELECT name FROM {variable} WHERE name LIKE 'adsense\\_cse\\_ad\\_block\\_%'");
foreach ($settings as $variable) {
variable_del($variable->name);
}
}
Functions
Name | Description |
---|---|
adsense_cse_uninstall | Implements hook_uninstall(). |