You are here

function apachesolr_mlt_delete_block_form_submit in Apache Solr Search 5

Same name and namespace in other branches
  1. 5.2 apachesolr.admin.inc \apachesolr_mlt_delete_block_form_submit()
  2. 6 apachesolr.admin.inc \apachesolr_mlt_delete_block_form_submit()
  3. 6.2 apachesolr.admin.inc \apachesolr_mlt_delete_block_form_submit()

File

contrib/apachesolr_mlt/apachesolr_mlt.module, line 355

Code

function apachesolr_mlt_delete_block_form_submit($form_id, $form_values) {
  db_query('DELETE FROM {apachesolr_mlt} WHERE id = %d', $form_values['block_id']['#value']);
}