]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365264: The modification date of flags is erased on flag modification - Patch...
authorlpsolit%gmail.com <>
Sat, 30 Dec 2006 06:34:09 +0000 (06:34 +0000)
committerlpsolit%gmail.com <>
Sat, 30 Dec 2006 06:34:09 +0000 (06:34 +0000)
Bugzilla/Flag.pm

index 4ca68e69775b2c31de894af7690b4a8cf937714b..2f8cd194a460ca5bf848451fddb20d80a7e55db5 100644 (file)
@@ -592,10 +592,6 @@ attachment.cgi midairs. See bug 223878 for details.
 sub modify {
     my ($cgi, $timestamp) = @_;
 
-    # Use the date/time we were given if possible (allowing calling code
-    # to synchronize the comment's timestamp with those of other records).
-    $timestamp = ($timestamp ? &::SqlQuote($timestamp) : "NOW()");
-    
     # Extract a list of flags from the form data.
     my @ids = map(/^flag-(\d+)$/ ? $1 : (), $cgi->param());