mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-36941_master-fix' of git://github.com/markn86/moodle
This commit is contained in:
commit
83c64f78c0
4 changed files with 25 additions and 13 deletions
|
@ -2191,11 +2191,12 @@ function xmldb_main_upgrade($oldversion) {
|
|||
}
|
||||
|
||||
if ($oldversion < 2018032700.00) {
|
||||
|
||||
// Update default search engine to search_simpledb if global search is disabled and there is no solr index defined.
|
||||
if (empty($CFG->enableglobalsearch) && empty(get_config('search_solr', 'indexname'))) {
|
||||
set_config('searchengine', 'simpledb');
|
||||
}
|
||||
|
||||
// Main savepoint reached.
|
||||
upgrade_main_savepoint(true, 2018032700.00);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue