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:
bf41b1e
)
Cleanup index clause
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 17 Jul 2008 12:09:58 +0000
(12:09 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 17 Jul 2008 12:09:58 +0000
(12:09 +0000)
includes/PageHistory.php
patch
|
blob
|
history
diff --git
a/includes/PageHistory.php
b/includes/PageHistory.php
index
1433f3f
..
870b57b
100644
(file)
--- a/
includes/PageHistory.php
+++ b/
includes/PageHistory.php
@@
-592,10
+592,10
@@
class PageHistoryPager extends ReverseChronologicalPager {
function getQueryInfo() {
$queryInfo = array(
function getQueryInfo() {
$queryInfo = array(
- 'tables' => array('revision'),
- 'fields' => Revision::selectFields(),
- 'conds' => array('rev_page' => $this->mPageHistory->mTitle->getArticleID() ),
- 'options' => array( 'USE INDEX' => array('revision'
,
'page_timestamp') )
+ 'tables'
=> array('revision'),
+ 'fields'
=> Revision::selectFields(),
+ 'conds'
=> array('rev_page' => $this->mPageHistory->mTitle->getArticleID() ),
+ 'options' => array( 'USE INDEX' => array('revision'
=>
'page_timestamp') )
);
wfRunHooks( 'PageHistoryPager::getQueryInfo', array( &$this, &$queryInfo ) );
return $queryInfo;
);
wfRunHooks( 'PageHistoryPager::getQueryInfo', array( &$this, &$queryInfo ) );
return $queryInfo;