summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
authorjustdave%bugzilla.org <>2005-01-30 13:22:27 +0100
committerjustdave%bugzilla.org <>2005-01-30 13:22:27 +0100
commitd9e238bc897b7614a81784dbebc69b9a155c9539 (patch)
tree53c77604819036f28ff7e833e3a6e2514d04883a /process_bug.cgi
parentc59641d038e2892db2c40047dde929a2207dd297 (diff)
downloadbugzilla-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.gz
bugzilla-d9e238bc897b7614a81784dbebc69b9a155c9539.tar.xz
Backing out the checking from bug 257315 until it gets corrected. It prevents new bugs from being filed.
a=justdave
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi15
1 files changed, 6 insertions, 9 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index ecf4d80b9..78423ab3d 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -1112,14 +1112,14 @@ sub FindWrapPoint {
}
sub LogDependencyActivity {
- my ($i, $oldstr, $target, $me, $timestamp) = (@_);
+ my ($i, $oldstr, $target, $me) = (@_);
my $newstr = SnapShotDeps($i, $target, $me);
if ($oldstr ne $newstr) {
# Figure out what's really different...
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=$timestamp WHERE bug_id=$i");
+ SendSQL("UPDATE bugs SET delta_ts=NOW() WHERE bug_id=$i");
$bug_changed = 1;
return 1;
}
@@ -1403,7 +1403,7 @@ foreach my $id (@idlist) {
while (MoreSQLData()) {
push(@list, FetchOneColumn());
}
- SendSQL("UPDATE bugs SET delta_ts = $timestamp, keywords = " .
+ SendSQL("UPDATE bugs SET keywords = " .
SqlQuote(join(', ', @list)) .
" WHERE bug_id = $id");
}
@@ -1558,9 +1558,9 @@ foreach my $id (@idlist) {
SendSQL("insert into dependencies ($me, $target) values ($id, $i)");
}
foreach my $k (@keys) {
- LogDependencyActivity($k, $snapshot{$k}, $me, $target, $timestamp);
+ LogDependencyActivity($k, $snapshot{$k}, $me, $target);
}
- LogDependencyActivity($id, $oldsnap, $target, $me, $timestamp);
+ LogDependencyActivity($id, $oldsnap, $target, $me);
$check_dep_bugs = 1;
}
@@ -1804,10 +1804,7 @@ foreach my $id (@idlist) {
SendSQL("INSERT INTO cc (who, bug_id) VALUES ($reporter, " . SqlQuote($duplicate) . ")");
}
# Bug 171639 - Duplicate notifications do not need to be private.
- AppendComment($duplicate, Bugzilla->user->login,
- "*** Bug $::FORM{'id'} has been marked as a duplicate of this bug. ***",
- 0, $timestamp);
-
+ AppendComment($duplicate, Bugzilla->user->login, "*** Bug $::FORM{'id'} has been marked as a duplicate of this bug. ***", 0);
CheckFormFieldDefined(\%::FORM,'comment');
SendSQL("INSERT INTO duplicates VALUES ($duplicate, $::FORM{'id'})");