[ticket/9687] Remove open todos and revert back to old regex

PHPBB3-9687
This commit is contained in:
Marc Alexander 2023-08-12 22:37:13 +02:00
parent 8a15670055
commit 63473239f2
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
2 changed files with 1 additions and 2 deletions

View file

@ -61,7 +61,6 @@ abstract class base implements type_interface
*/
public function set_user(\phpbb\user $user): void
{
// TODO: Implement new logging
$this->user = $user;
}

View file

@ -40,7 +40,7 @@ class email extends base
{
$this->get_excluded();
$regex = '#^.*?@.*|(([a-z0-9\-]+\.)+([a-z]{2,3}))$#i'; // TODO
$regex = '#^.*?@*|(([a-z0-9\-]+\.)+([a-z]{2,3}))$#i';
$ban_items = [];
foreach ($items as $item)