Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
open-source
MetaGer
Commits
e17f72af
Commit
e17f72af
authored
May 09, 2017
by
Aria Givi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unnötige if Abfrage rausgelöscht
parent
367f7e6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
app/MetaGer.php
app/MetaGer.php
+2
-10
No files found.
app/MetaGer.php
View file @
e17f72af
...
...
@@ -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
Markdown
is supported
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