You are here

simple_adsense.install in Simple AdSense 7

Default configuration.

File

simple_adsense.install
View source
<?php

/**
 * @file
 * Default configuration.
 */

/**
 * Implements hook_install().
 */
function simple_adsense_install() {
  $slots = array();
  $slots[1] = "5270097160";
  $client = "pub-9513614146655499";
  variable_set('simple_adsense_slots', $slots);
  variable_set('simple_adsense_client', $client);
}

/**
 * Implements hook_uninstall().
 */
function simple_adsense_uninstall() {
  variable_del('simple_adsense_slots');
  variable_del('simple_adsense_client');
}

Functions