Cleanup some unused stuff

This commit is contained in:
Johannes Meyer 2021-04-28 18:05:27 +02:00
parent 6749882b3f
commit 4d480fcce0
4 changed files with 0 additions and 15 deletions

View file

@ -6,9 +6,7 @@ namespace Icinga\Module\Icingadb\Controllers;
use Icinga\Exception\NotFoundError;
use Icinga\Module\Icingadb\Common\CommandActions;
use Icinga\Module\Icingadb\Common\HostLink;
use Icinga\Module\Icingadb\Common\Links;
use Icinga\Module\Icingadb\Common\ServiceLink;
use Icinga\Module\Icingadb\Model\Comment;
use Icinga\Module\Icingadb\Web\Controller;
use Icinga\Module\Icingadb\Widget\Detail\CommentDetail;
@ -17,8 +15,6 @@ use Icinga\Module\Icingadb\Widget\ItemList\CommentList;
class CommentController extends Controller
{
use CommandActions;
use HostLink;
use ServiceLink;
/** @var Comment The comment object */
protected $comment;

View file

@ -18,7 +18,6 @@ use Icinga\Module\Icingadb\Widget\ItemList\CommentList;
use Icinga\Module\Icingadb\Widget\ItemList\HistoryList;
use Icinga\Module\Icingadb\Widget\ServiceList;
use Icinga\Module\Icingadb\Widget\ShowMore;
use ipl\Sql\Sql;
class ServiceController extends Controller
{

View file

@ -5,10 +5,8 @@
namespace Icinga\Module\Icingadb\Widget\Detail;
use Icinga\Module\Icingadb\Common\Auth;
use Icinga\Module\Icingadb\Common\HostLink;
use Icinga\Module\Icingadb\Common\Links;
use Icinga\Module\Icingadb\Common\MarkdownText;
use Icinga\Module\Icingadb\Common\ServiceLink;
use Icinga\Module\Icingadb\Forms\Command\Object\DeleteCommentForm;
use Icinga\Module\Icingadb\Widget\TimeUntil;
use ipl\Html\BaseHtmlElement;
@ -17,8 +15,6 @@ use ipl\Html\Html;
class CommentDetail extends BaseHtmlElement
{
use Auth;
use HostLink;
use ServiceLink;
protected $comment;

View file

@ -7,24 +7,18 @@ namespace Icinga\Module\Icingadb\Widget\Detail;
use Icinga\Date\DateFormatter;
use Icinga\Date\DateFormatter as WebDateFormatter;
use Icinga\Module\Icingadb\Common\Auth;
use Icinga\Module\Icingadb\Common\HostLink;
use Icinga\Module\Icingadb\Common\Links;
use Icinga\Module\Icingadb\Common\MarkdownText;
use Icinga\Module\Icingadb\Common\ServiceLink;
use Icinga\Module\Icingadb\Forms\Command\Object\DeleteDowntimeForm;
use Icinga\Module\Icingadb\Model\Downtime;
use Icinga\Module\Icingadb\Widget\HorizontalKeyValue;
use ipl\Html\BaseHtmlElement;
use ipl\Html\Html;
use ipl\Html\HtmlDocument;
use ipl\Html\HtmlString;
use ipl\Web\Widget\Icon;
class DowntimeDetail extends BaseHtmlElement
{
use Auth;
use HostLink;
use ServiceLink;
/** @var BaseHtmlElement */
protected $control;