[freeside-commits] freeside/rt/lib/RT/Interface Web_Vendor.pm, 1.6, 1.7
Mark Wells
mark at wavetail.420.am
Wed Jan 18 16:50:16 PST 2012
Update of /home/cvs/cvsroot/freeside/rt/lib/RT/Interface
In directory wavetail.420.am:/tmp/cvs-serv16005/rt/lib/RT/Interface
Modified Files:
Web_Vendor.pm
Log Message:
RT NonCustomerEmailRegexp option, #15847
Index: Web_Vendor.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/lib/RT/Interface/Web_Vendor.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- Web_Vendor.pm 24 Oct 2011 22:50:47 -0000 1.6
+++ Web_Vendor.pm 19 Jan 2012 00:50:14 -0000 1.7
@@ -118,6 +118,14 @@
}
###
+ #remove any declared non-customer addresses
+ ###
+
+ my $exclude_regexp = RT->Config->Get('NonCustomerEmailRegexp');
+ @Requestors = grep { not $_->EmailAddress =~ $exclude_regexp } @Requestors
+ if defined $exclude_regexp;
+
+ ###
#link ticket (and requestors) to customers
###
More information about the freeside-commits
mailing list