forked from mirror/pixelfed
Update Nickname lexer
This commit is contained in:
parent
c1e41e5936
commit
ce498e9b67
|
@ -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];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue