You are here

function piwik_admin_settings_form_submit in Piwik Web Analytics 5

File

./piwik.module, line 424

Code

function piwik_admin_settings_form_submit($form_id, $form_values) {

  // Trim some text area values.
  $form_values['piwik_pages'] = trim($form_values['piwik_pages']);
  $form_values['piwik_codesnippet_before'] = trim($form_values['piwik_codesnippet_before']);
  $form_values['piwik_codesnippet_after'] = trim($form_values['piwik_codesnippet_after']);
  system_settings_form_submit($form_id, $form_values);
}