You are here

function image_gallery_confirm_delete_submit in Image 5.2

Same name and namespace in other branches
  1. 5 contrib/image_gallery/image_gallery.module \image_gallery_confirm_delete_submit()

File

contrib/image_gallery/image_gallery.module, line 369

Code

function image_gallery_confirm_delete_submit($form_id, $form_values) {
  taxonomy_del_term($form_values['tid']);
  drupal_set_message(t('The image gallery %term and all sub-galleries have been deleted.', array(
    '%term' => $form_values['name'],
  )));
  return 'admin/content/image';
}