1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-04 15:57:45 +02:00

[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
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 public function set_user(\phpbb\user $user): void
{ {
// TODO: Implement new logging
$this->user = $user; $this->user = $user;
} }

View File

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