You are here

function record_shorten_clear_all_submit in Shorten URLs 7.2

Same name and namespace in other branches
  1. 6 record_shorten.module \record_shorten_clear_all_submit()
  2. 7 record_shorten.module \record_shorten_clear_all_submit()

Submit callback for clear all records form.

File

./record_shorten.module, line 84
Records shortened URLs.

Code

function record_shorten_clear_all_submit($form, &$form_state) {
  db_query("TRUNCATE TABLE {record_shorten}");
}