mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Include proper timestamp in auto-accept emails
Fixes a regression introduced in c70b340
(Close requests before
accepting, 2014-07-29).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
76872d8b08
commit
55586d9c22
1 changed files with 1 additions and 1 deletions
|
@ -199,13 +199,13 @@ function pkgreq_file($ids, $type, $merge_into, $comments) {
|
|||
* maintainer will not be included in the Cc list of the
|
||||
* request notification email.
|
||||
*/
|
||||
$out_of_date_time = gmdate("Y-m-d", intval($details["OutOfDateTS"]));
|
||||
pkgreq_close($request_id, "accepted",
|
||||
"The package base has been flagged out-of-date " .
|
||||
"since " . $out_of_date_time . ".", true);
|
||||
$q = "UPDATE PackageBases SET MaintainerUID = NULL ";
|
||||
$q.= "WHERE ID = " . $base_id;
|
||||
$dbh->exec($q);
|
||||
$out_of_date_time = gmdate("Y-m-d", intval($details["OutOfDateTS"]));
|
||||
}
|
||||
|
||||
return array(true, __("Added request successfully."));
|
||||
|
|
Loading…
Add table
Reference in a new issue