r91080 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r91079
|
r91080
|
r91081
>
Date:
17:18, 29 June 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Fix for
r91076
: forgot to change one instance of $useMaster to $database
Modified paths:
/trunk/phase3/includes/SiteStats.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/SiteStats.php
—
—
@@ -325,7 +325,7 @@
326
326
if ( $database instanceof DatabaseBase ) {
327
327
$this->db = $database;
328
328
} else {
329
- $this->db = wfGetDB( $useMaster ? DB_MASTER : DB_SLAVE );
329
+ $this->db = wfGetDB( $database ? DB_MASTER : DB_SLAVE );
330
330
}
331
331
}
332
332
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r91076
Per Platonides, follow-up
r72842
: pass the db connection to SiteStatsInit::do...
ialex
15:39, 29 June 2011
Status & tagging log
17:21, 29 June 2011
😂
(
talk
|
contribs
)
changed the
status
of r91080
[
removed:
new
added:
ok]