mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Include reason for closing a request in the subject
Change the subject of notification emails sent when closing a request to be either "Request Accepted" or "Request Rejected". Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
4645bcbacb
commit
743f13e92d
1 changed files with 2 additions and 2 deletions
|
@ -221,8 +221,8 @@ function pkgreq_close($id, $reason, $comments) {
|
||||||
"In-Reply-To: $thread_id\r\n" .
|
"In-Reply-To: $thread_id\r\n" .
|
||||||
"References: $thread_id\r\n" .
|
"References: $thread_id\r\n" .
|
||||||
"X-Mailer: AUR";
|
"X-Mailer: AUR";
|
||||||
@mail($AUR_REQUEST_ML, "[PRQ#" . $id . "] Request Closed", $body,
|
@mail($AUR_REQUEST_ML, "[PRQ#" . $id . "] Request " . ucfirst($reason),
|
||||||
$headers);
|
$body, $headers);
|
||||||
|
|
||||||
return array(true, __("Request closed successfully."));
|
return array(true, __("Request closed successfully."));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue