From 7c406e1e8123758c20b92c7ff424bbf9b9190cf2 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Wed, 15 Aug 2012 22:05:26 +0530 Subject: [ticket/11052] update search backend constructor everywhere PHPBB3-11052 --- phpBB/includes/cron/task/core/tidy_search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/cron/task') diff --git a/phpBB/includes/cron/task/core/tidy_search.php b/phpBB/includes/cron/task/core/tidy_search.php index 8a0b1b690a..7855c3760a 100644 --- a/phpBB/includes/cron/task/core/tidy_search.php +++ b/phpBB/includes/cron/task/core/tidy_search.php @@ -31,7 +31,7 @@ class phpbb_cron_task_core_tidy_search extends phpbb_cron_task_base */ public function run() { - global $phpbb_root_path, $phpEx, $config, $error; + global $phpbb_root_path, $phpEx, $config, $error, $auth, $db, $user; // Select the search method $search_type = basename($config['search_type']); @@ -43,7 +43,7 @@ class phpbb_cron_task_core_tidy_search extends phpbb_cron_task_base // We do some additional checks in the module to ensure it can actually be utilised $error = false; - $search = new $search_type($error); + $search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user); if (!$error) { -- cgit v1.2.1