mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Switch PHPMailer, MoovRelocator, Zend Gdata, TCPDF, Oauth2, PhlickR, PHPShortener from git submodules to Composer
This commit is contained in:
@@ -188,9 +188,6 @@ class mail
|
||||
|
||||
public static function validateEmail($email)
|
||||
{
|
||||
$registry = registry::get_instance();
|
||||
require_once($registry->get('GV_RootPath') . 'lib/vendor/PHPMailer_v5.1/class.phpmailer.php');
|
||||
|
||||
return PHPMailer::ValidateAddress($email);
|
||||
}
|
||||
|
||||
@@ -198,7 +195,6 @@ class mail
|
||||
{
|
||||
|
||||
$registry = registry::get_instance();
|
||||
require_once($registry->get('GV_RootPath') . 'lib/vendor/PHPMailer_v5.1/class.phpmailer.php');
|
||||
|
||||
if (!isset($to['email']) || !PHPMailer::ValidateAddress($to['email']))
|
||||
|
||||
|
Reference in New Issue
Block a user