From: diml Date: Mon, 11 May 2009 19:59:58 +0000 (+0000) Subject: MDL-16979 - protects update queries by setting a real value in $CFG->search_indexer_u... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4bce399460f364776f2579f97e68a9ac483ea2a6;p=moodle.git MDL-16979 - protects update queries by setting a real value in $CFG->search_indexer_update_date --- 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