]> source.dussan.org Git - nextcloud-server.git/commit
Micro-optimize validation of empty email addresses 25585/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 11 Feb 2021 14:15:38 +0000 (15:15 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 11 Feb 2021 14:15:38 +0000 (15:15 +0100)
commit883848b58a50b03702eab58f67ca577037fcedab
tree3c1a1c350b5f785db7c444604f95f4fb43fe96b2
parentd5dea10517bbceaf141f56b6dde0efb55fc6f4b5
Micro-optimize validation of empty email addresses

Then we don't have to construct any validators.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/Mail/Mailer.php
tests/lib/Mail/MailerTest.php