You are here

function browscap_refresh_submit in Browscap 6

Same name and namespace in other branches
  1. 8 browscap.admin.inc \browscap_refresh_submit()
  2. 6.2 browscap.admin.inc \browscap_refresh_submit()
  3. 7.2 browscap.admin.inc \browscap_refresh_submit()
  4. 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
Implementation of hook_form().

File

./browscap.admin.inc, line 62
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', time());
}