Update co-maintainer list when promoting a user
commitdd3eb28a8cb35aeb8a069f3a20e5eb5fd348de62
authorLukas Fleischer <lfleischer@archlinux.org>
Fri, 22 May 2015 17:38:38 +0000 (22 19:38 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Fri, 22 May 2015 19:14:26 +0000 (22 21:14 +0200)
treec8891478528fe8e33eeaf7d20ac3dac942d1353c
parentc6e09def2b75762128f432130556ec6121fd8b8c
Update co-maintainer list when promoting a user

When a user disowns a package and promotes a co-maintainer, remove that
new maintainer from the list of package co-maintainers. Since only the
package maintainer can manage co-maintainers, this must happen before
the actual disown operation.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/pkgbasefuncs.inc.php