Monitoring\Controller: Drop `compactView' property, as it's not used anywere

This commit is contained in:
Johannes Meyer 2015-04-15 15:17:59 +02:00
parent 5e92171ab7
commit 32e8b606b4
1 changed files with 0 additions and 14 deletions

View File

@ -21,16 +21,6 @@ class Controller extends IcingaWebController
*/
protected $backend;
/**
* Compact layout name
*
* Set to a string containing the compact layout name to use when
* 'compact' is set as the layout parameter, otherwise null
*
* @var string
*/
protected $compactView;
protected function moduleInit()
{
$this->backend = Backend::createBackend($this->_getParam('backend'));
@ -39,10 +29,6 @@ class Controller extends IcingaWebController
protected function handleFormatRequest($query)
{
if ($this->compactView !== null && ($this->_getParam('view', false) === 'compact')) {
$this->_helper->viewRenderer($this->compactView);
}
if ($this->_getParam('format') === 'sql') {
echo '<pre>'
. htmlspecialchars(wordwrap($query->dump()))