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:
Lukas Fleischer 2014-07-01 20:06:41 +02:00
parent 707b1bb878
commit 0d513e1468
3 changed files with 8 additions and 5 deletions

View file

@ -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) {