Commit 92a8fe65 authored by Daniel Kudwien's avatar Daniel Kudwien
Browse files

- #1966046 by sun: Removed option to 'Redirect local moderation pages to my.mollom.com'.

parent 05b24e27
Loading
Loading
Loading
Loading
+0 −11
Changes for mollom.admin.inc: 0 added lines, 11 removed lines.
Original line number Diff line number Diff line
@@ -790,17 +790,6 @@ function mollom_admin_settings($form, &$form_state) {
    )),
  );

  $form['mollom_moderation_redirect'] = array(
    '#type' => 'checkbox',
    '#title' => t('Redirect <a href="@local-moderation-url">local moderation pages</a> to the <a href="@moderation-url">@moderation-product</a>', array(
      '@local-moderation-url' => url('admin/content/comment'),
      '@moderation-url' => 'https://mollom.com/moderation',
      '@moderation-product' => 'Mollom Content Moderation Platform',
    )),
    '#return_value' => 1,
    '#default_value' => variable_get('mollom_moderation_redirect', 0),
  );

  $form['mollom_privacy_link'] = array(
    '#type' => 'checkbox',
    '#title' => t("Link to Mollom's privacy policy on forms protected by textual analysis"),
+7 −0
Changes for mollom.install: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -1062,3 +1062,10 @@ function mollom_update_7207() {
  variable_del('mollom_status');
}

/**
 * Remove obsolete 'mollom_moderation_redirect' setting.
 */
function mollom_update_7208() {
  variable_del('mollom_moderation_redirect');
}
+0 −6
Changes for mollom.module: 0 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -147,12 +147,6 @@ function mollom_init() {
      }
    }
  }
  // Redirect local moderation pages to the hosted Mollom moderation system,
  // if enabled.
  // @see mollom_admin_settings()
  if (variable_get('mollom_moderation_redirect', 0) && strpos($_GET['q'], 'admin/content/comment') === 0) {
    drupal_goto('http://my.mollom.com');
  }
}

/**