Revert "Unify the email validation of UserUtil::isValidEmail() and Mailbox::__constru...
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 27 Apr 2022 12:56:56 +0000 (14:56 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 27 Apr 2022 12:58:40 +0000 (14:58 +0200)
commit1723b426d25ecaad5034a6f74e3b29db25dc1b29
treea26db750d422b4e04661a2bd8dfe9b0dc347ce89
parentaf59d81985e9b9978beda3262a1cccdb1abe8b25
Revert "Unify the email validation of UserUtil::isValidEmail() and Mailbox::__construct()"

This change broke WCFSetup, because Mailboxes implicitly carry a language which
is not readily available in WCFSetup.

The validation of the email address should likely be moved into a dedicated
method in Mailbox and then UserUtil::isValidEmail() deprecated.

This reverts commit 395f9a6affffdd5381134d3f9d39b70de453b668.
wcfsetup/install/files/lib/util/UserUtil.class.php