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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user