Something
public php v1 · immutablefunction dbtuning_analyze() { if ($edit = $_POST['edit']['apply_changes']) { dbtuning_empty_changes($_POST['edit']['apply_changes']['settings']); dbtuning_analyze_submit(); } else { dbtuning_analyze_submit(); } $form['re_analyze_db'] = array( '#type' => 'submit', '#value' => t('Re-Analyze')); $form['apply_changes'] = array( '#type' => 'submit', '#value' => t('Apply Changes')); $output = drupal_get_form('dbtuning_actions', $form); return $output;}