mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Unset PackagerUID before deleting an account
When removing an account, remove the user from all last packager fields before deletion to make sure that no package bases are deleted, even if propagation constraints are missing. Fixes FS#53956. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
c5302d3a33
commit
e06773add6
1 changed files with 1 additions and 1 deletions
|
@ -924,7 +924,7 @@ function user_delete($id) {
|
|||
$fields_set_null = array(
|
||||
array("PackageBases", "SubmitterUID"),
|
||||
array("PackageBases", "MaintainerUID"),
|
||||
array("PackageBases", "SubmitterUID"),
|
||||
array("PackageBases", "PackagerUID"),
|
||||
array("PackageComments", "UsersID"),
|
||||
array("PackageComments", "DelUsersID"),
|
||||
array("PackageRequests", "UsersID"),
|
||||
|
|
Loading…
Add table
Reference in a new issue