function removeTooNewRecords($highestMessageId) { SpotDebug::msg(SpotDebug::DEBUG, 'Highest messageid found: ' . $highestMessageId); /* * Remove any extraneous spots from the database because we assume * the highest messgeid in the database is the latest on the server. * * If the server is marked as buggy, the last 'x' amount of spot are * always checked so we do not have to do this */ if (!$this->_textServer['buggy']) { $this->_spotDao->removeExtraSpots($highestMessageId); } # if }