You are here

function update_status_form_alter in Update Status 5.2

Implementation of hook_form_alter().

Adds a submit handler to the system modules and themes forms, so that if a site admin saves either form, we invalidate the cache of available updates.

See also

update_status_invalidate_cache()

File

./update_status.module, line 568

Code

function update_status_form_alter($form_id, &$form) {
  if ($form_id == 'system_modules') {
    $form['#submit']['update_status_system_submit'] = array();
  }
}