diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-04 11:02:19 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-04 11:10:51 +0200 |
commit | 743f13e92d0f87e82a2c8de2b9554fd0bebfdee0 (patch) | |
tree | 3ccdbcf073738bfa31c6c72d90aee260788567d1 /web/lib | |
parent | 4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d (diff) |
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>
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgreqfuncs.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgreqfuncs.inc.php b/web/lib/pkgreqfuncs.inc.php index fccf0b2..8266c67 100644 --- a/web/lib/pkgreqfuncs.inc.php +++ b/web/lib/pkgreqfuncs.inc.php @@ -221,8 +221,8 @@ function pkgreq_close($id, $reason, $comments) { "In-Reply-To: $thread_id\r\n" . "References: $thread_id\r\n" . "X-Mailer: AUR"; - @mail($AUR_REQUEST_ML, "[PRQ#" . $id . "] Request Closed", $body, - $headers); + @mail($AUR_REQUEST_ML, "[PRQ#" . $id . "] Request " . ucfirst($reason), + $body, $headers); return array(true, __("Request closed successfully.")); } |