From 40866e34e23bc4ead3aa064dd23f9cd69f531885 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 25 Jun 2024 15:28:01 -0400 Subject: [PATCH] Remove the function to check if php-mailparse is installed. Its not needed and was causing breaing issues and is an unessesary check --- cron_ticket_email_parser.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cron_ticket_email_parser.php b/cron_ticket_email_parser.php index 7984946b..07a4e321 100644 --- a/cron_ticket_email_parser.php +++ b/cron_ticket_email_parser.php @@ -46,11 +46,6 @@ if (!function_exists('imap_open')) { exit("Email Parser: PHP IMAP extension is not installed. See https://docs.itflow.org/ticket_email_parse -- Quitting.."); } -// Check mailparse extension works/installed -if (!function_exists('mailparse_msg_parse_file')) { - exit("Email Parser: PHP mailparse extension is not installed. See https://docs.itflow.org/ticket_email_parse -- Quitting.."); -} - // Get system temp directory $temp_dir = sys_get_temp_dir();