aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron/task/core
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-21 11:34:07 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-21 17:42:37 +0200
commit7d7bf8672854b13c03ec53b2eaeefc754a588bef (patch)
tree42e84ea8e21f5dc34f5631946a4f3c27e0dd9243 /phpBB/phpbb/cron/task/core
parent449ffbe7992bcda2f28ceaf861329e913575149a (diff)
downloadforums-7d7bf8672854b13c03ec53b2eaeefc754a588bef.tar
forums-7d7bf8672854b13c03ec53b2eaeefc754a588bef.tar.gz
forums-7d7bf8672854b13c03ec53b2eaeefc754a588bef.tar.bz2
forums-7d7bf8672854b13c03ec53b2eaeefc754a588bef.tar.xz
forums-7d7bf8672854b13c03ec53b2eaeefc754a588bef.zip
[ticket/12883] Do not use basename() to get the search class in tidy_search
PHPBB3-12883
Diffstat (limited to 'phpBB/phpbb/cron/task/core')
-rw-r--r--phpBB/phpbb/cron/task/core/tidy_search.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/cron/task/core/tidy_search.php b/phpBB/phpbb/cron/task/core/tidy_search.php
index 2de744b7c1..2665d18799 100644
--- a/phpBB/phpbb/cron/task/core/tidy_search.php
+++ b/phpBB/phpbb/cron/task/core/tidy_search.php
@@ -55,7 +55,7 @@ class tidy_search extends \phpbb\cron\task\base
public function run()
{
// Select the search method
- $search_type = basename($this->config['search_type']);
+ $search_type = $this->config['search_type'];
// We do some additional checks in the module to ensure it can actually be utilised
$error = false;
@@ -79,7 +79,7 @@ class tidy_search extends \phpbb\cron\task\base
public function is_runnable()
{
// Select the search method
- $search_type = basename($this->config['search_type']);
+ $search_type = $this->config['search_type'];
return class_exists($search_type);
}