diff --git a/application/controllers/diagnostics.php b/application/controllers/diagnostics.php index 06d533e6f..5b17b41f7 100644 --- a/application/controllers/diagnostics.php +++ b/application/controllers/diagnostics.php @@ -105,7 +105,6 @@ private function repairRecentSamplesWithoutSpatialIndex($db, array &$log) { and sys.name='cache_builder'; SQL; $minSampleId = $db->query($query)->current()->check_from_sample_id; - $minSampleId = 0; // The most likely cause of a cache builder block is the failure of some // samples to spatially index. So scan for any in the recent data (using