Remove user::deleteAppData() and replace it with an appData function
This commit is contained in:
committed by
WineHQ
parent
59d97b676d
commit
2af11e7333
@@ -37,6 +37,21 @@ class appData
|
||||
}
|
||||
}
|
||||
|
||||
function delete()
|
||||
{
|
||||
if(!$this->canEdit())
|
||||
return FALSE;
|
||||
|
||||
$sQuery = "DELETE FROM appData WHERE id = '?'";
|
||||
|
||||
$hResult = query_parameters($sQuery, $this->iId);
|
||||
|
||||
if(!$hResult)
|
||||
return FALSE;
|
||||
|
||||
return $hResult;
|
||||
}
|
||||
|
||||
function listSubmittedBy($iUserId, $bQueued = true)
|
||||
{
|
||||
$hResult = query_parameters("SELECT * FROM appData WHERE
|
||||
|
||||
Reference in New Issue
Block a user