From aa9f6f562e6da436539ad91560e79495fc936f8f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 21 Feb 2023 20:52:54 +0100 Subject: [PATCH] Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 --- htdocs/public/ticket/ajax/ajax.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/htdocs/public/ticket/ajax/ajax.php b/htdocs/public/ticket/ajax/ajax.php index 21fd13019e8..19361320ced 100644 --- a/htdocs/public/ticket/ajax/ajax.php +++ b/htdocs/public/ticket/ajax/ajax.php @@ -66,15 +66,6 @@ if (empty($conf->global->TICKET_CREATE_THIRD_PARTY_WITH_CONTACT_IF_NOT_EXIST)) { } -if (!isModEnabled('ticket')) { - accessforbidden('', 0, 0, 1); -} - -if (empty($conf->global->TICKET_CREATE_THIRD_PARTY_WITH_CONTACT_IF_NOT_EXIST)) { - accessforbidden('', 0, 0, 1); -} - - /* * View */