remove extra brackets

This commit is contained in:
ghost 2023-06-30 13:41:07 +03:00
parent 3218add372
commit 01d5356791

View File

@ -645,7 +645,7 @@ class MySQL {
FROM `hostPage` FROM `hostPage`
JOIN `host` ON (`host`.`hostId` = `hostPage`.`hostId`) JOIN `host` ON (`host`.`hostId` = `hostPage`.`hostId`)
WHERE (`hostPage`.`timeUpdated` IS NULL OR (`hostPage`.`timeUpdated` < ? OR (`hostPage`.`uri` = '/' AND `hostPage`.`timeUpdated` < ?))) WHERE (`hostPage`.`timeUpdated` IS NULL OR `hostPage`.`timeUpdated` < ? OR (`hostPage`.`uri` = '/' AND `hostPage`.`timeUpdated` < ?))
AND `host`.`status` <> ? AND `host`.`status` <> ?
AND `hostPage`.`timeBanned` IS NULL"); AND `hostPage`.`timeBanned` IS NULL");
@ -671,7 +671,7 @@ class MySQL {
FROM `hostPage` FROM `hostPage`
JOIN `host` ON (`host`.`hostId` = `hostPage`.`hostId`) JOIN `host` ON (`host`.`hostId` = `hostPage`.`hostId`)
WHERE (`hostPage`.`timeUpdated` IS NULL OR (`hostPage`.`timeUpdated` < ? OR (`hostPage`.`uri` = '/' AND `hostPage`.`timeUpdated` < ?))) WHERE (`hostPage`.`timeUpdated` IS NULL OR `hostPage`.`timeUpdated` < ? OR (`hostPage`.`uri` = '/' AND `hostPage`.`timeUpdated` < ?))
AND `host`.`status` <> ? AND `host`.`status` <> ?
AND `hostPage`.`timeBanned` IS NULL AND `hostPage`.`timeBanned` IS NULL