]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Introduced new wrapper functions to make the code more readable, new extension ext...
[mailer.git] / inc / wrapper-functions.php
index bb570f585aeee4b92253ce8aef94166df8c36d45..4a07785f7d8b9128c38affbd70bcc1f0109de9cd 100644 (file)
@@ -873,5 +873,11 @@ function isInStringIgnoreCase ($needle, $haystack) {
        return (isInString(strtolower($needle), strtolower($haystack)));
 }
 
        return (isInString(strtolower($needle), strtolower($haystack)));
 }
 
+// Wrapper to check for if fatal errors where detected
+function ifFatalErrorsDetected () {
+       // Just call the inner function
+       return (getTotalFatalErrors() > 0);
+}
+
 // [EOF]
 ?>
 // [EOF]
 ?>