mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-02-03 18:35:04 +00:00
rename method name
This commit is contained in:
parent
772975059c
commit
7e3248ca2c
@ -48,7 +48,7 @@ if (filter_var($q, FILTER_VALIDATE_URL) && preg_match(CRAWL_URL_REGEXP, $q)) {
|
|||||||
if ($hostURL = Parser::hostURL($q)) {
|
if ($hostURL = Parser::hostURL($q)) {
|
||||||
|
|
||||||
// Host exists
|
// Host exists
|
||||||
if ($host = $db->getHost(crc32($hostURL->string))) {
|
if ($host = $db->getHostByCRC32URL(crc32($hostURL->string))) {
|
||||||
|
|
||||||
$hostStatus = $host->status;
|
$hostStatus = $host->status;
|
||||||
$hostNsfw = $host->nsfw;
|
$hostNsfw = $host->nsfw;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user