1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13685] Add phpbb_dispatcher to fulltext search constructors

PHPBB3-13685
This commit is contained in:
brunoais
2015-03-11 17:46:42 +00:00
parent 049f584111
commit 1e45a05000
14 changed files with 50 additions and 18 deletions

View File

@@ -497,7 +497,7 @@ function change_poster(&$post_info, $userdata)
{
// We do some additional checks in the module to ensure it can actually be utilised
$error = false;
$search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user);
$search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user, $phpbb_dispatcher);
if (!$error && method_exists($search, 'destroy_cache'))
{