function record_shorten_clear_all_submit in Shorten URLs 7
Same name and namespace in other branches
- 6 record_shorten.module \record_shorten_clear_all_submit()
- 7.2 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}");
}