test_om_objects: Test unQueue()

This commit is contained in:
Alexander Nicolaysen Sørnes
2008-01-23 14:18:43 +01:00
committed by Chris Morgan
parent 663894bed4
commit 1f081f4be1
10 changed files with 98 additions and 3 deletions

View File

@@ -107,6 +107,11 @@ class Monitor {
return TRUE;
}
function unQueue()
{
return true; // We don't queue monitors
}
function objectGetSubmitterId()
{
return $this->iUserId;
@@ -226,6 +231,12 @@ class Monitor {
mail_appdb($sEmail, $sSubject ,$sMsg);
}
function objectGetState()
{
// We don't queue monitors
return 'accepted';
}
function canEdit()
{
if($_SESSION['current']->hasPriv("admin") ||