Skip to content

Commit

Permalink
Version 2.11.0+ compatibility
Browse files Browse the repository at this point in the history
Import `Icinga\Application\Hook\TicketHook` instead of `Icinga\Web\Hook\TicketHook` in `Ticket` class.
As `Icinga\Web\Hook\TicketHook` has been deprecated since Icinga Web 2 v2.11.0.

Co-authored-by:  Ravi Kumar Kempapura Srinivasa <[email protected]>
  • Loading branch information
MegaphoneJon and raviks789 committed Jul 25, 2022
1 parent 5ea808d commit 6cb9346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Generictts/Ticket.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Icinga\Module\Generictts;

use Icinga\Application\Config;
use Icinga\Web\Hook\TicketHook;
use Icinga\Application\Hook\TicketHook;

/**
* GenericTTS TicketHook implementation
Expand Down

0 comments on commit 6cb9346

Please sign in to comment.