Add initial un-delete support
This commit is contained in:
committed by
Chris Morgan
parent
5a31b9d5c8
commit
8c7bd3a5e9
@@ -63,7 +63,7 @@ class downloadurl
|
||||
return $sReturn;
|
||||
}
|
||||
|
||||
function objectGetChildren()
|
||||
function objectGetChildren($bIncludeDeleted = false)
|
||||
{
|
||||
/* We have none */
|
||||
return array();
|
||||
@@ -395,6 +395,11 @@ class downloadurl
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
function purge()
|
||||
{
|
||||
return $this->delete();
|
||||
}
|
||||
|
||||
function delete()
|
||||
{
|
||||
if(!downloadurl::canEdit($this->iVersionId))
|
||||
|
||||
Reference in New Issue
Block a user