You are here

function simple_adsense_settings_remove_slot in Simple AdSense 7

Remove slot.

1 string reference to 'simple_adsense_settings_remove_slot'
simple_adsense_settings in ./simple_adsense.admin.inc
Form_simple_adsense.

File

./simple_adsense.admin.inc, line 82
Configuration form.

Code

function simple_adsense_settings_remove_slot($form, &$form_state) {
  if ($form_state['num_slots'] > 1) {
    $form_state['num_slots']--;
  }
  $form_state['rebuild'] = TRUE;
}