From ce498e9b67893736e8fdd29978dee0055aaf40ef Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 26 Jul 2020 22:09:11 -0600 Subject: [PATCH] Update Nickname lexer --- app/Util/Lexer/Nickname.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Util/Lexer/Nickname.php b/app/Util/Lexer/Nickname.php index c1551ab0f..00a9b23d2 100644 --- a/app/Util/Lexer/Nickname.php +++ b/app/Util/Lexer/Nickname.php @@ -18,8 +18,6 @@ class Nickname $username = $parts[0]; $domain = $parts[1]; - if(parse_url(filter_var('https://test.dev', FILTER_VALIDATE_URL), PHP_URL_HOST)) - return ['domain' => $domain, 'username' => $username]; } }