Fix downloadurl::unqueue()
This commit is contained in:
committed by
Chris Morgan
parent
3e7ce62dde
commit
2f3657f196
@@ -384,12 +384,12 @@ class downloadurl
|
|||||||
|
|
||||||
function unQueue()
|
function unQueue()
|
||||||
{
|
{
|
||||||
if(!$this->canEdit($this->iVersionId))
|
if($this->mustBeQueued())
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
$hResult = query_parameters("UPDATE appData SET queued = '?'
|
$hResult = query_parameters("UPDATE appData SET state = '?'
|
||||||
WHERE id = '?'",
|
WHERE id = '?'",
|
||||||
"false", $this->iId);
|
'accepted', $this->iId);
|
||||||
|
|
||||||
if(!$hResult)
|
if(!$hResult)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user