diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-04 10:40:29 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-07-04 11:10:37 +0200 |
commit | 8a465182babccec10b8e789dbc871db3beb9bec5 (patch) | |
tree | 135ca7f54ec901fc498c77dbfab9486df5080a9b /web/html/pkgbase.php | |
parent | 61d70c1fa5f0ed9cfe4708a4630fbf959da2d781 (diff) | |
download | aur-8a465182babccec10b8e789dbc871db3beb9bec5.tar.gz aur-8a465182babccec10b8e789dbc871db3beb9bec5.tar.xz |
Allow for selecting a reason when closing a request
When closing a package request, Trusted Users can now pick a reason
("Accepted" or "Rejected"). This allows for marking a request as
accepted, even if the corresponding package base has already been
deleted.
Also, the notification email now always explicitly states whether a
request has been accepted or closed in the message body.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html/pkgbase.php')
-rw-r--r-- | web/html/pkgbase.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php index 5e27e4ec..62021807 100644 --- a/web/html/pkgbase.php +++ b/web/html/pkgbase.php @@ -105,7 +105,7 @@ if (check_token()) { $ret = false; } } elseif (current_action("do_CloseRequest")) { - list($ret, $output) = pkgreq_close($_POST['reqid'], false); + list($ret, $output) = pkgreq_close($_POST['reqid'], $_POST['reason']); } if (isset($_REQUEST['comment'])) { |