Commit e17f72af authored by Aria Givi's avatar Aria Givi

Unnötige if Abfrage rausgelöscht

parent 367f7e6b
......@@ -1133,16 +1133,8 @@ class MetaGer
public function rankAll()
{
$phraseSearch = sizeof($this->getPhrases()) > 0 ? true : false;
if($phraseSearch) {
foreach ($this->engines as $engine) {
$engine->rank($this->getQ(), $this->getPhrases());
}
} else {
foreach ($this->engines as $engine) {
$engine->rank($this->getQ());
}
foreach ($this->engines as $engine) {
$engine->rank($this->getQ(), $this->getPhrases());
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment