aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron/task/core
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-08-15 12:40:08 -0400
committerDavid King <imkingdavid@gmail.com>2012-08-15 12:40:08 -0400
commitd07cb6d778c264cbd1441438f2ea77ae6cc76126 (patch)
treed61f00044925def152ecff3be40b5fcd79b99932 /phpBB/includes/cron/task/core
parent485710e016e50579012145f396bd059e06c1edbf (diff)
parent7c406e1e8123758c20b92c7ff424bbf9b9190cf2 (diff)
downloadforums-d07cb6d778c264cbd1441438f2ea77ae6cc76126.tar
forums-d07cb6d778c264cbd1441438f2ea77ae6cc76126.tar.gz
forums-d07cb6d778c264cbd1441438f2ea77ae6cc76126.tar.bz2
forums-d07cb6d778c264cbd1441438f2ea77ae6cc76126.tar.xz
forums-d07cb6d778c264cbd1441438f2ea77ae6cc76126.zip
Merge remote-tracking branch 'dhruvgoel92/ticket/11052' into develop
Diffstat (limited to 'phpBB/includes/cron/task/core')
-rw-r--r--phpBB/includes/cron/task/core/tidy_search.php4
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)
{