mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
8a465182ba
commit
4645bcbacb
4 changed files with 20 additions and 6 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue