Add initial un-delete support

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-12-12 22:43:22 +01:00
committed by Chris Morgan
parent 5a31b9d5c8
commit 8c7bd3a5e9
28 changed files with 345 additions and 96 deletions

View File

@@ -61,7 +61,7 @@ class Monitor {
}
}
function objectGetChildren()
function objectGetChildren($bIncludeDeleted = false)
{
/* We have none */
return array();
@@ -169,6 +169,11 @@ class Monitor {
return array($sSubject, $sMsg, $aMailTo);
}
function purge()
{
return $this->delete();
}
/**
* Removes the current Monitor from the database.
* Informs interested people about the deletion.