PDO library returns proper boolean. We dont need string comparison

This commit is contained in:
marc tobias
2019-04-02 16:52:37 +02:00
parent 2a4198f94d
commit 2ab836c11c
5 changed files with 7 additions and 7 deletions

View File

@@ -352,7 +352,7 @@ if ($aResult['import-osmosis'] || $aResult['import-osmosis-all']) {
$sBatchEnd = $aLastState['lastimportdate'];
$iEndSequence = $aLastState['sequence_id'];
if ($aLastState['indexed'] == 't') {
if ($aLastState['indexed']) {
// Sleep if the update interval has not yet been reached.
$fNextUpdate = $aLastState['unix_ts'] + CONST_Replication_Update_Interval;
if ($fNextUpdate > $fStartTime) {