mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Be explicit about accepted requests in emails
When sending notification emails after closing a request, be explicit about whether the request has been accepted or not. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
707b1bb878
commit
0d513e1468
3 changed files with 8 additions and 5 deletions
|
@ -540,7 +540,7 @@ function pkgbase_delete ($atype, $base_ids, $merge_base_id, $via) {
|
|||
$dbh->exec($q);
|
||||
|
||||
if ($via) {
|
||||
pkgreq_close(intval($via));
|
||||
pkgreq_close(intval($via), true);
|
||||
}
|
||||
|
||||
return array(true, __("The selected packages have been deleted."));
|
||||
|
@ -598,7 +598,7 @@ function pkgbase_adopt ($atype, $base_ids, $action=true, $via) {
|
|||
$dbh->exec($q);
|
||||
|
||||
if ($via) {
|
||||
pkgreq_close(intval($via));
|
||||
pkgreq_close(intval($via), true);
|
||||
}
|
||||
|
||||
if ($action) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue