Commit f4085abc authored by Chris Graham's avatar Chris Graham
Browse files

Fixed MANTIS-4034 (Suppress error mails from SQL Server)

parent 1409b130
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1115,6 +1115,7 @@ function relay_error_notification($text, $ocproducts = true, $notification_type
        (strpos($text, 'connect to') === false) &&
        (strpos($text, 'connect to') === false) &&
        (strpos($text, 'Access denied for') === false) &&
        (strpos($text, 'Access denied for') === false) &&
        (strpos($text, 'command denied for') === false) && // MySQL
        (strpos($text, 'command denied for') === false) && // MySQL
        (strpos($text, 'was deadlocked on lock resources with another process') === false) && // SQL Server
        (strpos($text, 'Unknown database') === false) &&
        (strpos($text, 'Unknown database') === false) &&
        (strpos($text, 'headers already sent') === false) &&
        (strpos($text, 'headers already sent') === false) &&
        (strpos($text, 'Resource temporarily unavailable') === false) &&
        (strpos($text, 'Resource temporarily unavailable') === false) &&