function ad_confirm_group_delete_submit in Advertisement 5.2
Same name and namespace in other branches
- 5 ad.module \ad_confirm_group_delete_submit()
- 6.3 ad.admin.inc \ad_confirm_group_delete_submit()
- 6 ad.admin.inc \ad_confirm_group_delete_submit()
- 6.2 ad.admin.inc \ad_confirm_group_delete_submit()
- 7 ad.admin.inc \ad_confirm_group_delete_submit()
Delete ad group.
File
- ./
ad.module, line 2383 - An advertising system for Drupal powered websites.
Code
function ad_confirm_group_delete_submit($form_id, $form_values) {
taxonomy_del_term($form_values['tid']);
drupal_set_message(t('The ad group %term has been deleted.', array(
'%term' => $form_values['name'],
)));
watchdog('ad', t('mailarchive: deleted %term ad group.', array(
'%term' => $form_values['name'],
)));
return 'admin/content/ad/groups';
}