atrpo_atr_form_review_submit

Versions
6.1
atrpo_atr_form_review_submit($form, &$form_state)

Form submit handler for atr_form_review().

Code

atr/modules/atrpo/atrpo.module, line 32

<?php
function atrpo_atr_form_review_submit($form, &$form_state) {
  $values = $form_state['values'];
  if ($values['atrpo_toggle']) {
    module_load_include('inc', 'atrpo', 'includes/atrpo.extract');
    foreach ($values['atrpo_files'] as $path) {
      atrpo_extract($path);
      atr_rmdir($path);
    }
  }
}
?>