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:
4665ea4
)
Made mergeActiveUsers use "recentchanges" query group
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 8 Apr 2015 00:31:11 +0000
(17:31 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 8 Apr 2015 00:31:11 +0000
(17:31 -0700)
Change-Id: I9b91fe5d81f7315d531c48530cfbcf779f3adec2
includes/specials/SpecialActiveusers.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialActiveusers.php
b/includes/specials/SpecialActiveusers.php
index
a031dad
..
2c00175
100644
(file)
--- a/
includes/specials/SpecialActiveusers.php
+++ b/
includes/specials/SpecialActiveusers.php
@@
-302,7
+302,7
@@
class SpecialActiveUsers extends SpecialPage {
* @return int How many seconds old the cache is
*/
public static function mergeActiveUsers( $period, $days ) {
- $dbr = wfGetDB( DB_SLAVE );
+ $dbr = wfGetDB( DB_SLAVE
, 'recentchanges'
);
$cTime = $dbr->selectField( 'querycache_info',
'qci_timestamp',
array( 'qci_type' => 'activeusers' )