r87822 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r87821
|
r87822
|
r87823
>
Date:
14:29, 10 May 2011
Author:
ashley
Status:
deferred
Tags:
Comment:
NumberOfWikis: remove $wgSharedDB, we don't need it because wiki_list is in $wgSharedTables
Modified paths:
/trunk/extensions/NumberOfWikis/NumberOfWikis.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/NumberOfWikis/NumberOfWikis.php
—
—
@@ -52,8 +52,7 @@
53
53
$ret = $data;
54
54
} else {
55
55
// Not cached → have to fetch it from the database
56
- global $wgSharedDB;
57
- $dbr = wfGetDB( DB_SLAVE, array(), $wgSharedDB );
56
+ $dbr = wfGetDB( DB_SLAVE );
58
57
$res = $dbr->select(
59
58
'wiki_list',
60
59
'COUNT(*) AS count',
Status & tagging log
13:42, 15 June 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r87822
[
removed:
new
added:
deferred]
20:24, 14 May 2011
Jack Phoenix
(
talk
|
contribs
)
changed the
status
of r87822
[
removed:
deferred
added:
new]
17:03, 14 May 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r87822
[
removed:
new
added:
deferred]