test_om_objects: Test unQueue()
This commit is contained in:
committed by
Chris Morgan
parent
663894bed4
commit
1f081f4be1
@@ -77,6 +77,11 @@ class Note {
|
||||
}
|
||||
|
||||
|
||||
function unQueue()
|
||||
{
|
||||
return true; // We don't queue notes
|
||||
}
|
||||
|
||||
/**
|
||||
* Update note.
|
||||
* Returns true on success and false on failure.
|
||||
@@ -372,6 +377,11 @@ class Note {
|
||||
return $sLink;
|
||||
}
|
||||
|
||||
function objectGetState()
|
||||
{
|
||||
return 'accepted'; // We don't queue notes
|
||||
}
|
||||
|
||||
// users can edit the note if they:
|
||||
// - have "admin" privileges
|
||||
// - maintain the version, or supermaintain the application that
|
||||
|
||||
Reference in New Issue
Block a user