You are here

function l10n_update_system_modules_submit in Localization update 6

Additional submit hander for System Modules form.

Rebuild project information, update status, etc. When this callback runs, locale module has already run and update cache is refreshed.

See also

l10n_update_form_alter()

1 string reference to 'l10n_update_system_modules_submit'
l10n_update_form_alter in ./l10n_update.module
Implementation of hook_form_alter().

File

./l10n_update.module, line 139
Download translations from remote localization server.

Code

function l10n_update_system_modules_submit($form, $form_state) {

  // Check we are not on the confirm form
  if (!isset($form_state['storage'])) {
    module_load_include('project.inc', 'l10n_update');
    l10n_update_project_refresh();
  }
}