Index: trunk/phase3/maintenance/parserTests.inc |
— | — | @@ -759,7 +759,7 @@ |
760 | 760 | |
761 | 761 | # Make a new message cache |
762 | 762 | global $wgMessageCache, $wgMemc; |
763 | | - $wgMessageCache = new MessageCache( $wgMemc, true, 3600, '' ); |
| 763 | + $wgMessageCache = new MessageCache( $wgMemc, true, 3600 ); |
764 | 764 | } |
765 | 765 | |
766 | 766 | /** |
Index: trunk/phase3/maintenance/tests/UploadFromUrlTestSuite.php |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | |
56 | 56 | $wgMessageCache = new StubObject( 'wgMessageCache', 'MessageCache', |
57 | 57 | array( $messageMemc, $wgUseDatabaseMessages, |
58 | | - $wgMsgCacheExpiry, wfWikiID() ) ); |
| 58 | + $wgMsgCacheExpiry ) ); |
59 | 59 | if ( $wgStyleDirectory === false ) $wgStyleDirectory = "$IP/skins"; |
60 | 60 | |
61 | 61 | } |
Index: trunk/phase3/includes/MessageCache.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | // Variable for tracking which variables are loaded |
29 | 29 | var $mLoadedLanguages = array(); |
30 | 30 | |
31 | | - function __construct( $memCached, $useDB, $expiry, /*ignored*/ $memcPrefix ) { |
| 31 | + function __construct( $memCached, $useDB, $expiry ) { |
32 | 32 | if ( !$memCached ) { |
33 | 33 | $memCached = wfGetCache( CACHE_NONE ); |
34 | 34 | } |