mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
[feature/extension-manager] Make search backends loadable from extensions
Search backends are now required to be autoloadable. The database updater to 3.1 tries to guess the class name as phpbb_search_<oldname> which works for the default backends we ship. PHPBB3-10323
This commit is contained in:
@@ -2106,6 +2106,10 @@ function change_database_data(&$no_updates, $version)
|
||||
|
||||
// Changes from 3.1.0-dev to 3.1.0-A1
|
||||
case '3.1.0-dev':
|
||||
// try to guess the new auto loaded search class name
|
||||
// works for native and mysql fulltext
|
||||
set_config('search_type', 'phpbb_search_' . $config['search_type']);
|
||||
|
||||
set_config('use_system_cron', 0);
|
||||
|
||||
$sql = 'UPDATE ' . GROUPS_TABLE . '
|
||||
|
Reference in New Issue
Block a user