test_om_objects: Test unQueue()
This commit is contained in:
committed by
Chris Morgan
parent
663894bed4
commit
1f081f4be1
@@ -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") ||
|
||||
|
||||
Reference in New Issue
Block a user