diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-02-19 18:55:27 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-03-16 12:47:05 +0100 |
commit | f92f3a1a6ecbce06fbe24204ef12b2eeeb0f0d15 (patch) | |
tree | dca224d1136cae6d5a971cd110a0591ce0d8d1ef /lib/public/util.php | |
parent | 283476a2f7c200912352eb4db097f540e3993e75 (diff) | |
download | nextcloud-server-f92f3a1a6ecbce06fbe24204ef12b2eeeb0f0d15.tar.gz nextcloud-server-f92f3a1a6ecbce06fbe24204ef12b2eeeb0f0d15.zip |
Incorporate review changes
Diffstat (limited to 'lib/public/util.php')
-rw-r--r-- | lib/public/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 71ab8cabce5..338c216f255 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -294,7 +294,8 @@ class Util { $host_name = \OC_Config::getValue('mail_domain', $host_name); $defaultEmailAddress = $user_part.'@'.$host_name; - if (\OCP\Mail\Util::validateMailAddress($defaultEmailAddress)) { + $mailer = \OC::$server->getMailer(); + if ($mailer->validateMailAddress($defaultEmailAddress)) { return $defaultEmailAddress; } |