mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[ticket/9687] Remove open todos and revert back to old regex
PHPBB3-9687
This commit is contained in:
parent
8a15670055
commit
63473239f2
2 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue