mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
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
|
* Create a command form to delete a single comment
|
||||||
*
|
*
|
||||||
|
@ -133,16 +133,6 @@ abstract class MonitoredObjectController extends Controller
|
|||||||
*/
|
*/
|
||||||
abstract public function scheduleDowntimeAction();
|
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
|
* Create tabs
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user