[Rt-commit] [rtir] 06/07: Remove duplicated substitutions

Jim Brandt jbrandt at bestpractical.com
Tue Jul 2 15:25:59 EDT 2013


This is an automated email from the git hooks/post-receive script.

jbrandt pushed a commit to branch 2.9/update-2.5.1-update-saved-search
in repository rtir.

commit ccd5f52dbacf128debd49c8179dd93f3b3f726a7
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Tue Jul 2 14:55:36 2013 -0400

    Remove duplicated substitutions
---
 etc/upgrade/2.5.1/update_saved_searches.pl.in | 2 --
 1 file changed, 2 deletions(-)

diff --git a/etc/upgrade/2.5.1/update_saved_searches.pl.in b/etc/upgrade/2.5.1/update_saved_searches.pl.in
index 797edc9..7fbd5b6 100644
--- a/etc/upgrade/2.5.1/update_saved_searches.pl.in
+++ b/etc/upgrade/2.5.1/update_saved_searches.pl.in
@@ -74,8 +74,6 @@ while ( my $s = $saved_searches->Next ) {
     foreach ( $content->{Query}, $content->{Format} ) {
         s/(?<=CF\.{)_RTIR_//ig;
         s/(?<=CustomField\.{)_RTIR_//ig;
-        s/(?<=CF\.{)_RTIR_//ig;
-        s/(?<=CustomField\.{)_RTIR_//ig;
         s/\b($special)\b/$special_rename{lc($1)}/ige;
 
         # Add quotes to handle new CFs with spaces

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Rt-commit mailing list