mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-16979 - protects update queries by setting a real value in $CFG->search_indexer_update_date
This commit is contained in:
parent
a2669a1866
commit
4bce399460
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
||||||
}
|
}
|
||||||
$dbcontrol = new IndexDBControl();
|
$dbcontrol = new IndexDBControl();
|
||||||
$update_count = 0;
|
$update_count = 0;
|
||||||
$indexdate = @$CFG->search_indexer_update_date;
|
$indexdate = 0 + @$CFG->search_indexer_update_date;
|
||||||
$startupdatedate = time();
|
$startupdatedate = time();
|
||||||
|
|
||||||
/// indexing changed resources
|
/// indexing changed resources
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue