1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/12883] Remove pointless comments

PHPBB3-12883
This commit is contained in:
Tristan Darricau
2014-07-23 00:30:55 +02:00
parent 7d7bf86728
commit 3bf04d7152

View File

@@ -54,7 +54,6 @@ class tidy_search extends \phpbb\cron\task\base
*/ */
public function run() public function run()
{ {
// Select the search method
$search_type = $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 // 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() public function is_runnable()
{ {
// Select the search method return class_exists($this->config['search_type']);
$search_type = $this->config['search_type'];
return class_exists($search_type);
} }
/** /**