[bugzilla-gnome-org-customizations/production] remove antispam from GNOME extension as it is now at AntiSpam



commit 4c9d89d1ebd5542502043982aff7dfd21df5980a
Author: Olav Vitters <olav vitters nl>
Date:   Thu Jan 5 21:12:02 2017 +0100

    remove antispam from GNOME extension as it is now at AntiSpam

 extensions/GNOME/Extension.pm |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/extensions/GNOME/Extension.pm b/extensions/GNOME/Extension.pm
index 4ee55cc..8c43d87 100644
--- a/extensions/GNOME/Extension.pm
+++ b/extensions/GNOME/Extension.pm
@@ -312,21 +312,4 @@ sub _createGitCommitLink {
    return $commit_link;
 }
 
-sub bug_end_of_create_validators {
-    my ($self, $args) = @_;
-    my $params = $args->{params};
-    my $short_desc = $params->{short_desc};
-    my $bug_status = $params->{bug_status};
-    my @spamwords = qw( quickbooks QuickBooks 18003819788 1800-381-9788 18883142450 844.307.5701 
844-775-6411 solarcity -phone-number- );
-    foreach my $spamword (@spamwords) {
-        if (index($short_desc, $spamword) != -1) {
-            print "Spam summary: $spamword\n";
-#           $params->{short_desc} = "Spam";
-#           $params->{bug_status} = "RESOLVED";
-#           $params->{resolution} = "INVALID";
-            $params->{alias} = "spam";
-        }
-    }
-};
-
 __PACKAGE__->NAME;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]