From: Evan Prodromou Date: Thu, 8 Mar 2012 13:01:21 +0000 (-0600) Subject: Don't require real login to view spam X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5efcfb85987fd73c98b39ebd25052473b3637668;p=quix0rs-gnu-social.git Don't require real login to view spam --- diff --git a/spam.php b/spam.php index a6cb1bf661..a66b73a829 100644 --- a/spam.php +++ b/spam.php @@ -80,16 +80,6 @@ class SpamAction extends Action throw new ClientException(_("You must be logged in to review."), 403); } - // It must be a "real" login, not saved cookie login - - if (!common_is_real_login()) { - common_set_returnto($this->selfUrl()); - if (Event::handle('RedirectToLogin', array($this, $user))) { - common_redirect(common_local_url('login'), 303); - return; - } - } - // User must have the right to review spam if (!$user->hasRight(ActivitySpamPlugin::REVIEWSPAM)) {