summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2005-01-16 22:02:34 +0100
committerjocuri%softhome.net <>2005-01-16 22:02:34 +0100
commitb36c4ef40718e469d5924721cee4ef15b1a1bf64 (patch)
tree1c90b2bdd839ee6117458d9d555c09743524a2f8 /process_bug.cgi
parentba11a24ba069e190fa161abf366a1282f4a0b5a2 (diff)
downloadbugzilla-b36c4ef40718e469d5924721cee4ef15b1a1bf64.tar.gz
bugzilla-b36c4ef40718e469d5924721cee4ef15b1a1bf64.tar.xz
Patch for bug 277622: Move DiffStrings() out of globals.pl into Bugzilla/Util.pm; patch by Max K-A <mkanat@kerio.com>, r=vladd, a=myk.
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi5
1 files changed, 3 insertions, 2 deletions
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') {