function qa_recalc_transition(&$state, $operation) { $length = qa_recalc_stage_length($operation); $next = QA_FINAL_EXTERNAL_USERS && $operation == 'dorecalcpoints_recalc' ? '' : 0; $done = 0; $state = $operation . "\t" . $length . "\t" . $next . "\t" . $done; }
function qa_recalc_transition(&$state, $operation) { $state = $operation . ',' . qa_recalc_stage_length($operation) . ',0,0'; }