atrcode_atr_form_review_submit

Versions
6.1
atrcode_atr_form_review_submit($form, &$form_state)

Form submit handler for atr_form_review().

Code

atr/modules/atrcode/atrcode.module, line 41

<?php
function atrcode_atr_form_review_submit($form, &$form_state) {
  $values = $form_state['values'];
  if ($values['atrcode_toggle']) {
    module_load_include('inc', 'atrcode', 'includes/atrcode.extract');
    foreach ($values['atrcode_files'] as $path) {
      atrcode_extract($path, $values['atrcode_api_version']);
      atr_rmdir($path);
    }
  }
}
?>