You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by fe...@apache.org on 2006/07/31 17:26:19 UTC
svn commit: r427140 -
/spamassassin/rules/trunk/sandbox/felicity/sandbox-felicity.pm
Author: felicity
Date: Mon Jul 31 08:26:18 2006
New Revision: 427140
URL: http://svn.apache.org/viewvc?rev=427140&view=rev
Log:
accidental commit
Modified:
spamassassin/rules/trunk/sandbox/felicity/sandbox-felicity.pm
Modified: spamassassin/rules/trunk/sandbox/felicity/sandbox-felicity.pm
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/felicity/sandbox-felicity.pm?rev=427140&r1=427139&r2=427140&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/felicity/sandbox-felicity.pm (original)
+++ spamassassin/rules/trunk/sandbox/felicity/sandbox-felicity.pm Mon Jul 31 08:26:18 2006
@@ -36,22 +36,19 @@
bless ($self, $class);
# the important bit!
- $self->register_eval_rule ("check_base64_length");
+# $self->register_eval_rule ("check_rendered_different");
return $self;
}
-sub check_base64_length {
- my $self = shift;
- my $pms = shift;
-
- foreach my $p ($pms->{msg}->find_parts(qr@.@)) {
- my $enc =
- next unless ($p->{'type'}
- raw
- }
-
- return 0;
-}
+#sub check_rendered_different {
+# my $plugin = shift; # remove for EvalTests
+# my $self = shift; # PMS
+#
+# foreach my $p ($self->{msg}->find_parts(qr@^text/plain$@i)) {
+# }
+#
+# return 0;
+#}
1;