mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
change: remove comaintainers when fulfilling orphan request
Closes FS#50079 Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
4ae72af4b5
commit
2cb53411c0
2 changed files with 13 additions and 0 deletions
|
@ -71,6 +71,7 @@ def pkgbase_disown_instance(request: Request, pkgbase: PackageBase) -> None:
|
|||
notifs += handle_request(request, ORPHAN_ID, pkgbase)
|
||||
with db.begin():
|
||||
pkgbase.Maintainer = None
|
||||
db.delete_all(pkgbase.comaintainers)
|
||||
|
||||
util.apply_all(notifs, lambda n: n.send())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue