diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-07-23 00:30:55 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-07-23 00:30:55 +0200 |
commit | 3bf04d715294aca3b89a4cd6a3d121acf93a233e (patch) | |
tree | dd5587c52400e4b8ca7c17829adb75a29c3a7510 | |
parent | 7d7bf8672854b13c03ec53b2eaeefc754a588bef (diff) | |
download | forums-3bf04d715294aca3b89a4cd6a3d121acf93a233e.tar forums-3bf04d715294aca3b89a4cd6a3d121acf93a233e.tar.gz forums-3bf04d715294aca3b89a4cd6a3d121acf93a233e.tar.bz2 forums-3bf04d715294aca3b89a4cd6a3d121acf93a233e.tar.xz forums-3bf04d715294aca3b89a4cd6a3d121acf93a233e.zip |
[ticket/12883] Remove pointless comments
PHPBB3-12883
-rw-r--r-- | phpBB/phpbb/cron/task/core/tidy_search.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/phpbb/cron/task/core/tidy_search.php b/phpBB/phpbb/cron/task/core/tidy_search.php index 2665d18799..2c30274dfa 100644 --- a/phpBB/phpbb/cron/task/core/tidy_search.php +++ b/phpBB/phpbb/cron/task/core/tidy_search.php @@ -54,7 +54,6 @@ class tidy_search extends \phpbb\cron\task\base */ public function run() { - // Select the search method $search_type = $this->config['search_type']; // We do some additional checks in the module to ensure it can actually be utilised @@ -78,10 +77,7 @@ class tidy_search extends \phpbb\cron\task\base */ public function is_runnable() { - // Select the search method - $search_type = $this->config['search_type']; - - return class_exists($search_type); + return class_exists($this->config['search_type']); } /** |