You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
408 B
PHTML
17 lines
408 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
|
namespace Controllers\Tickets;
|
||
|
|
||
|
|
||
|
use BusinessLogic\Tickets\TicketDeleter;
|
||
|
|
||
|
class StaffTicketController {
|
||
|
function delete($id) {
|
||
|
global $applicationContext, $userContext, $hesk_settings;
|
||
|
|
||
|
/* @var $ticketDeleter TicketDeleter */
|
||
|
$ticketDeleter = $applicationContext->get[TicketDeleter::class];
|
||
|
|
||
|
$ticketDeleter->deleteTicket($id, $userContext, $hesk_settings);
|
||
|
}
|
||
|
}
|