Don't display supermaintainers twice on maintainer processing screen. When printing the list of
non-super maintainers, only print the entry if the user is not a super maintainer
This commit is contained in:
committed by
WineHQ
parent
b32249dec6
commit
f4b7f2bd04
@@ -537,6 +537,11 @@ class maintainer
|
||||
while(list($index, $iUserId) = each($aOtherMaintainers))
|
||||
{
|
||||
$oUser = new User($iUserId);
|
||||
|
||||
// because Version::getMaintainersUserIds() includes super maintainers
|
||||
// we need to exclude these from the list of maintainers that we are
|
||||
// building
|
||||
if(!maintainer::isUserSuperMaintainer($oUser, $oVersion->iAppId))
|
||||
echo "$oUser->sRealname<br />\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user