function browscap_refresh_submit in Browscap 8
Same name and namespace in other branches
- 6.2 browscap.admin.inc \browscap_refresh_submit()
- 6 browscap.admin.inc \browscap_refresh_submit()
- 7.2 browscap.admin.inc \browscap_refresh_submit()
- 7 browscap.admin.inc \browscap_refresh_submit()
Submit handler for the refresh browscap button.
1 string reference to 'browscap_refresh_submit'
- browscap_settings_form in ./
browscap.admin.inc - Implements hook_form().
File
- ./
browscap.admin.inc, line 57 - Generate configuration form.
Code
function browscap_refresh_submit($form, &$form_state) {
// Update the browscap information
_browscap_import(FALSE);
// Record when the browscap information was updated
variable_set('browscap_imported', REQUEST_TIME);
}