diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2012-08-15 22:05:26 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2012-08-15 22:05:26 +0530 |
commit | 7c406e1e8123758c20b92c7ff424bbf9b9190cf2 (patch) | |
tree | 4114f693cf06cec96da924fdb102b6017f9427aa /phpBB/includes/cron/task/core | |
parent | 938805106c75499eb953d1a22a1ce772c21252de (diff) | |
download | forums-7c406e1e8123758c20b92c7ff424bbf9b9190cf2.tar forums-7c406e1e8123758c20b92c7ff424bbf9b9190cf2.tar.gz forums-7c406e1e8123758c20b92c7ff424bbf9b9190cf2.tar.bz2 forums-7c406e1e8123758c20b92c7ff424bbf9b9190cf2.tar.xz forums-7c406e1e8123758c20b92c7ff424bbf9b9190cf2.zip |
[ticket/11052] update search backend constructor everywhere
PHPBB3-11052
Diffstat (limited to 'phpBB/includes/cron/task/core')
-rw-r--r-- | phpBB/includes/cron/task/core/tidy_search.php | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |