Delete all objects in version_queue::delete()
This commit is contained in:
committed by
WineHQ
parent
e6b09f417f
commit
d99f705863
@@ -76,7 +76,18 @@ class version_queue
|
|||||||
|
|
||||||
function delete()
|
function delete()
|
||||||
{
|
{
|
||||||
return $this->oVersion->delete();
|
$bSuccess = TRUE;
|
||||||
|
|
||||||
|
if(!$this->oVersion->delete())
|
||||||
|
$bSuccess = FALSE;
|
||||||
|
|
||||||
|
if(!$this->oTestDataQueue->delete())
|
||||||
|
$bSuccess = FALSE;
|
||||||
|
|
||||||
|
if($this->oDownloadUrl->iId && !$this->oDownloadUrl->delete())
|
||||||
|
$bSuccess = FALSE;
|
||||||
|
|
||||||
|
return $bSuccess;
|
||||||
}
|
}
|
||||||
|
|
||||||
function unQueue()
|
function unQueue()
|
||||||
|
|||||||
Reference in New Issue
Block a user