From c97f3f1f30141eb768074d797864de16017deaab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos?= Date: Tue, 6 Mar 2018 19:13:21 +0100 Subject: [PATCH] convert isBlacklisted method in public to be able to use library without email pattern checking --- platform/php/MailChecker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/php/MailChecker.php b/platform/php/MailChecker.php index a7933bf4..d0859d9c 100644 --- a/platform/php/MailChecker.php +++ b/platform/php/MailChecker.php @@ -31,7 +31,7 @@ private static function validEmail($email) { } } - private static function isBlacklisted($email) { + public static function isBlacklisted($email) { $parts = explode("@", $email); $domain = end($parts);