From 4bce399460f364776f2579f97e68a9ac483ea2a6 Mon Sep 17 00:00:00 2001 From: diml Date: Mon, 11 May 2009 19:59:58 +0000 Subject: [PATCH] MDL-16979 - protects update queries by setting a real value in $CFG->search_indexer_update_date --- search/update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/update.php b/search/update.php index 0e55bab3ad..e702eb42bc 100644 --- a/search/update.php +++ b/search/update.php @@ -56,7 +56,7 @@ } $dbcontrol = new IndexDBControl(); $update_count = 0; - $indexdate = @$CFG->search_indexer_update_date; + $indexdate = 0 + @$CFG->search_indexer_update_date; $startupdatedate = time(); /// indexing changed resources -- 2.39.5