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