Include supermaintainers in getMaintainersForAppIdVersionId()
This commit is contained in:
committed by
WineHQ
parent
71cba5e7c3
commit
f12a5ded10
@@ -353,8 +353,10 @@ class maintainer
|
||||
|
||||
if($iVersionId)
|
||||
{
|
||||
$hResult = query_parameters("SELECT userId from appMaintainers WHERE appMaintainers.queued = 'false' AND ".
|
||||
"appMaintainers.versionId = '?'", $iVersionId);
|
||||
$hResult = query_parameters("SELECT userId from appMaintainers, appVersion
|
||||
WHERE appMaintainers.queued = 'false' AND appVersion.versionId = '?'
|
||||
AND ((appMaintainers.versionId = appVersion.versionId) OR
|
||||
(appMaintainers.appId = appVersion.appId))", $iVersionId);
|
||||
}
|
||||
/*
|
||||
* If versionId was not supplied we fetch supermaintainers of application and maintainer of all versions.
|
||||
|
||||
Reference in New Issue
Block a user