diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-04 11:00:07 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-04 11:10:50 +0200 |
commit | 4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d (patch) | |
tree | bf76716bc018a15d0206b61816f3e945a14912e1 /web/lib/pkgbasefuncs.inc.php | |
parent | 8a465182babccec10b8e789dbc871db3beb9bec5 (diff) | |
download | aurweb-4645bcbacbc4fd2fba2a3f28d6cd23bdfb184a9d.tar.xz |
Allow for adding a comment when closing a request
This allows Trusted Users to optionally add a comment when closing a
request. The comment is included in the notification email that is sent
to the requests mailing list.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/pkgbasefuncs.inc.php')
-rw-r--r-- | web/lib/pkgbasefuncs.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php index 4c1f452..fed46c8 100644 --- a/web/lib/pkgbasefuncs.inc.php +++ b/web/lib/pkgbasefuncs.inc.php @@ -540,7 +540,7 @@ function pkgbase_delete ($atype, $base_ids, $merge_base_id, $via) { $dbh->exec($q); if ($via) { - pkgreq_close(intval($via), 'accepted'); + pkgreq_close(intval($via), 'accepted', ''); } 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), 'accepted'); + pkgreq_close(intval($via), 'accepted', ''); } if ($action) { |