parent
ac599e642a
commit
7cf2cb034e
|
@ -77,15 +77,6 @@ class Monitoring_CommentController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Receive DeleteCommentCommandForm post from other controller
|
||||
*/
|
||||
public function removeAction()
|
||||
{
|
||||
$this->assertHttpMethod('POST');
|
||||
$this->createDelCommentForm();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a command form to delete a single comment
|
||||
*
|
||||
|
|
|
@ -133,16 +133,6 @@ abstract class MonitoredObjectController extends Controller
|
|||
*/
|
||||
abstract public function scheduleDowntimeAction();
|
||||
|
||||
/**
|
||||
* Delete a comment
|
||||
*/
|
||||
public function deleteCommentAction()
|
||||
{
|
||||
$this->assertHttpMethod('POST');
|
||||
$this->assertPermission('monitoring/command/comment/delete');
|
||||
$this->handleCommandForm(new DeleteCommentsCommandForm());
|
||||
}
|
||||
|
||||
/**
|
||||
* Create tabs
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue