From: Evan Prodromou Date: Wed, 7 Mar 2012 15:04:55 +0000 (-0600) Subject: debug log for missing score X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b87e769454e6f15e0f0ae38c5396a34ece30ba5;p=quix0rs-gnu-social.git debug log for missing score --- diff --git a/ActivitySpamPlugin.php b/ActivitySpamPlugin.php index 26a0f5c7a5..6950d54554 100644 --- a/ActivitySpamPlugin.php +++ b/ActivitySpamPlugin.php @@ -180,6 +180,7 @@ class ActivitySpamPlugin extends Plugin $score = Spam_score::staticGet('notice_id', $notice->id); if (empty($score)) { + $this->debug("No score for notice " . $notice->id); // XXX: show a question-mark or something } else if ($score->is_spam) { $form = new TrainHamForm($out, $notice);