summaryrefslogtreecommitdiffstats
path: root/web/html/pkgbase.php
diff options
context:
space:
mode:
authorMark Weiman <mark.weiman@markzz.com>2018-02-06 03:54:56 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2018-02-24 14:57:31 +0100
commitf15c700ad2ed2f5512a5574ab29f85c4848039e4 (patch)
treebc9232112070ce82dc18c4d5e5d7c0484187cad7 /web/html/pkgbase.php
parent27654afadb5088dda4eafd83f07410c2a48fa4b0 (diff)
downloadaur-f15c700ad2ed2f5512a5574ab29f85c4848039e4.tar.gz
aur-f15c700ad2ed2f5512a5574ab29f85c4848039e4.tar.xz
Add capability for co-maintainers to disown packages
Implements FS#53832. Signed-off-by: Mark Weiman <mark.weiman@markzz.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/pkgbase.php')
-rw-r--r--web/html/pkgbase.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/html/pkgbase.php b/web/html/pkgbase.php
index 03b0eee4..cf9a6c60 100644
--- a/web/html/pkgbase.php
+++ b/web/html/pkgbase.php
@@ -60,6 +60,9 @@ if (check_token()) {
$output = __("The selected packages have not been disowned, check the confirmation checkbox.");
$ret = false;
}
+ } elseif (current_action("do_DisownComaintainer")) {
+ $uid = uid_from_sid($_COOKIE["AURSID"]);
+ list($ret, $output) = pkgbase_remove_comaintainer($base_id, $uid);
} elseif (current_action("do_Vote")) {
list($ret, $output) = pkgbase_vote($ids, true);
} elseif (current_action("do_UnVote")) {