Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
81c8004f
Commit
81c8004f
authored
May 09, 2017
by
Aria Givi
Browse files
Unnötige if Abfrage rausgelöscht
parent
3dc655ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/MetaGer.php
View file @
81c8004f
...
...
@@ -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
());
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment