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:
parent
c1e41e5936
commit
ce498e9b67
1 changed files with 0 additions and 2 deletions
|
@ -18,8 +18,6 @@ class Nickname
|
||||||
$username = $parts[0];
|
$username = $parts[0];
|
||||||
$domain = $parts[1];
|
$domain = $parts[1];
|
||||||
|
|
||||||
if(parse_url(filter_var('https://test.dev', FILTER_VALIDATE_URL), PHP_URL_HOST))
|
|
||||||
|
|
||||||
return ['domain' => $domain, 'username' => $username];
|
return ['domain' => $domain, 'username' => $username];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue