From b36c4ef40718e469d5924721cee4ef15b1a1bf64 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 16 Jan 2005 21:02:34 +0000 Subject: Patch for bug 277622: Move DiffStrings() out of globals.pl into Bugzilla/Util.pm; patch by Max K-A , r=vladd, a=myk. --- process_bug.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index e389d4551..d8ad4cafa 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -37,6 +37,7 @@ require "CGI.pl"; use Bugzilla::Bug; use Bugzilla::User; +use Bugzilla::Util; use Bugzilla::RelationSet; # Use the Flag module to modify flag data if the user set flags. @@ -1082,7 +1083,7 @@ sub LogDependencyActivity { my $newstr = SnapShotDeps($i, $target, $me); if ($oldstr ne $newstr) { # Figure out what's really different... - my ($removed, $added) = DiffStrings($oldstr, $newstr); + my ($removed, $added) = diff_strings($oldstr, $newstr); LogActivityEntry($i,$target,$removed,$added,$whoid,$timestamp); # update timestamp on target bug so midairs will be triggered SendSQL("UPDATE bugs SET delta_ts=NOW() WHERE bug_id=$i"); @@ -1687,7 +1688,7 @@ foreach my $id (@idlist) { # If this is the keyword field, only record the changes, not everything. if ($col eq 'keywords') { - ($old, $new) = DiffStrings($old, $new); + ($old, $new) = diff_strings($old, $new); } if ($col eq 'product') { -- cgit v1.2.3-24-g4f1b