Remove unused and redundant controller actions

refs #8624
This commit is contained in:
Matthias Jentsch 2015-05-07 16:22:17 +02:00
parent ac599e642a
commit 7cf2cb034e
2 changed files with 0 additions and 19 deletions

View File

@ -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
*

View File

@ -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
*/