Drop class `Icinga\Web\Hook\TicketHook`
This commit is contained in:
parent
9ef344d3b2
commit
d25854ebce
|
@ -12,12 +12,12 @@ class Zend_View_Helper_CreateTicketLinks extends Zend_View_Helper_Abstract
|
|||
* @param string $text
|
||||
*
|
||||
* @return string
|
||||
* @see \Icinga\Web\Hook\TicketHook::createLinks()
|
||||
* @see \Icinga\Application\Hook\TicketHook::createLinks()
|
||||
*/
|
||||
public function createTicketLinks($text)
|
||||
{
|
||||
$tickets = $this->view->tickets;
|
||||
/** @var \Icinga\Web\Hook\TicketHook $tickets */
|
||||
/** @var \Icinga\Application\Hook\TicketHook $tickets */
|
||||
return isset($tickets) ? $tickets->createLinks($text) : $text;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,6 +49,7 @@ v2.6 to v2.8 requires to follow the instructions for v2.7 too.
|
|||
+ `Icinga\Util\String`: Use `Icinga\Util\StringHelper` instead.
|
||||
+ `Icinga\Util\Translator`: Use `\ipl\I18n\StaticTranslator::$instance` or `\ipl\I18n\Translation` instead.
|
||||
+ `Icinga\Module\Migrate\Clicommands\DashboardCommand`
|
||||
+ `Icinga\Web\Hook\TicketHook`: Use `Icinga\Application\Hook\TicketHook` instead.
|
||||
|
||||
* All the following deprecated js classes and methods are removed:
|
||||
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
<?php
|
||||
/* Icinga Web 2 | (c) 2014 Icinga Development Team | GPLv2+ */
|
||||
|
||||
namespace Icinga\Web\Hook;
|
||||
|
||||
use Icinga\Application\Hook\TicketHook as BaseHook;
|
||||
|
||||
/**
|
||||
* Deprecated, compat only.
|
||||
*
|
||||
* Please implement hooks in Icinga\Application\Hook
|
||||
*/
|
||||
abstract class TicketHook extends BaseHook
|
||||
{
|
||||
}
|
Loading…
Reference in New Issue