diff options
author | David King <imkingdavid@gmail.com> | 2012-08-15 12:40:08 -0400 |
---|---|---|
committer | David King <imkingdavid@gmail.com> | 2012-08-15 12:40:08 -0400 |
commit | d07cb6d778c264cbd1441438f2ea77ae6cc76126 (patch) | |
tree | d61f00044925def152ecff3be40b5fcd79b99932 /phpBB/includes/functions_admin.php | |
parent | 485710e016e50579012145f396bd059e06c1edbf (diff) | |
parent | 7c406e1e8123758c20b92c7ff424bbf9b9190cf2 (diff) | |
download | forums-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/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 5d19cd7adb..5e2ee8c8f6 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -723,7 +723,7 @@ function delete_topics($where_type, $where_ids, $auto_sync = true, $post_count_s */ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync = true, $post_count_sync = true, $call_delete_topics = true) { - global $db, $config, $phpbb_root_path, $phpEx; + global $db, $config, $phpbb_root_path, $phpEx, $auth, $user; if ($where_type === 'range') { @@ -855,7 +855,7 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync = } $error = false; - $search = new $search_type($error); + $search = new $search_type($error, $phpbb_root_path, $phpEx, $auth, $config, $db, $user); if ($error) { |