diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-24 15:35:07 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-03-24 15:35:07 +0100 |
commit | 3eb5898f7b8f8b836b15dcb9c9a9213d7edbda96 (patch) | |
tree | ae3bc7d4acd407f89c5a1f3c3346ecb6c8f5fef4 /lib/private/mail.php | |
parent | fb7f3008d33cb123f8b6931f6edf8697913b355a (diff) | |
download | nextcloud-server-3eb5898f7b8f8b836b15dcb9c9a9213d7edbda96.tar.gz nextcloud-server-3eb5898f7b8f8b836b15dcb9c9a9213d7edbda96.zip |
use \OC_Mail::validateAddress() to validate the email address - fixes #7862
Diffstat (limited to 'lib/private/mail.php')
-rw-r--r-- | lib/private/mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/mail.php b/lib/private/mail.php index f691fda979d..79f51609631 100644 --- a/lib/private/mail.php +++ b/lib/private/mail.php @@ -125,7 +125,7 @@ class OC_Mail { * @param string $emailAddress a given email address to be validated * @return bool */ - public static function ValidateAddress($emailAddress) { + public static function validateAddress($emailAddress) { $emailAddress = self::buildAsciiEmail($emailAddress); return PHPMailer::ValidateAddress($emailAddress); } |