Skip to content

Commit

Permalink
Debug wording
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinstrom authored and tm1000 committed Jun 8, 2016
1 parent f1d69e1 commit 8bf5771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/source-FccComplaints.module
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FccComplaints extends superfecta_base {
'SPAM_Threshold' => array(
'description' => _('Specify the number of listings required to mark a call as spam.'),
'type' => 'number',
'default' => 1
'default' => 2
),
'API_KEY' => array(
'description' => _('Optional API token to allow throttling by app rather than IP'),
Expand Down Expand Up @@ -41,9 +41,9 @@ class FccComplaints extends superfecta_base {
$score = count($data);
if ($score >= $spamcount) {
$this->spam = true;
$this->DebugPrint(" "._("determined to be SPAM"));
$this->DebugPrint(" "._("$score reports found, determined to be SPAM. You can lower the spam threshold in settings."));
} else {
$this->DebugPrint(_("Not a SPAM caller"));
$this->DebugPrint(_("$score reports found, Not a SPAM caller. You can raise the spam threshold in settings."));
}
}

Expand Down

0 comments on commit 8bf5771

Please sign in to comment.