1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00

Update Nickname lexer

This commit is contained in:
Daniel Supernault 2020-07-26 22:09:11 -06:00
parent c1e41e5936
commit ce498e9b67
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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];
}
}