Add return value to maintainer::delete()

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-07-24 21:52:55 +00:00
committed by WineHQ
parent 33faa569eb
commit 0b979fee68

View File

@@ -330,7 +330,12 @@ class maintainer
function delete() function delete()
{ {
$sQuery = "DELETE from appMaintainers where maintainerId = '?'"; $sQuery = "DELETE from appMaintainers where maintainerId = '?'";
query_parameters($sQuery, $this->iMaintainerId); $hResult = query_parameters($sQuery, $this->iMaintainerId);
if(!$hResult)
return FALSE;
return TRUE;
} }
function deleteMaintainer($oUser, $iAppId = null, $iVersionId = null) function deleteMaintainer($oUser, $iAppId = null, $iVersionId = null)