dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7937829
)
Don't override limits and offsets in SearchEngine::create()
author
Chad Horohoe
<chadh@wikimedia.org>
Mon, 27 Jan 2014 16:52:47 +0000
(08:52 -0800)
committer
Chad Horohoe
<chadh@wikimedia.org>
Mon, 27 Jan 2014 16:55:40 +0000
(08:55 -0800)
The class default is 10/0, it doesn't make sense to set that
as 0/0 here. Nor does it make sense to really override it
here at all, as class defaults should take precedent unless
explicitly overriden by callers.
Bug: 60475
Change-Id: I4a48fd3c55908b52c8b0ab081d856874d16b876e
includes/search/SearchEngine.php
patch
|
blob
|
history
diff --git
a/includes/search/SearchEngine.php
b/includes/search/SearchEngine.php
index
33fcd8c
..
2b149cd
100644
(file)
--- a/
includes/search/SearchEngine.php
+++ b/
includes/search/SearchEngine.php
@@
-472,7
+472,6
@@
class SearchEngine {
}
$search = new $class( $dbr );
- $search->setLimitOffset( 0, 0 );
return $search;
}