mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/9687] Remove open todos and revert back to old regex
PHPBB3-9687
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user