Add return value to maintainer::delete()
This commit is contained in:
committed by
WineHQ
parent
33faa569eb
commit
0b979fee68
@@ -330,7 +330,12 @@ class maintainer
|
||||
function delete()
|
||||
{
|
||||
$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)
|
||||
|
||||
Reference in New Issue
Block a user