doc: Remove unnecessary use in IcingawebController

refs #9449
This commit is contained in:
Eric Lippmann 2015-07-28 11:54:00 +02:00
parent d40c3f0a29
commit e70fb76d31
1 changed files with 1 additions and 5 deletions

View File

@ -1,7 +1,6 @@
<?php
/* Icinga Web 2 | (c) 2013-2015 Icinga Development Team | GPLv2+ */
use \Zend_Controller_Action_Exception;
use Icinga\Application\Icinga;
use Icinga\Module\Doc\DocController;
@ -25,10 +24,7 @@ class Doc_IcingawebController extends DocController
return $path;
}
}
throw new Zend_Controller_Action_Exception(
$this->translate('Documentation for Icinga Web 2 is not available'),
404
);
$this->httpNotFound($this->translate('Documentation for Icinga Web 2 is not available'));
}
/**