r104138 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104137‎ | r104138 | r104139 >
Date:08:44, 24 November 2011
Author:petrb
Status:deferred
Tags:
Comment:
Improved cachekey
Modified paths:
  • /trunk/extensions/OnlineStatusBar/OnlineStatusBar.status.php (modified) (history)

Diff [purge]

Index: trunk/extensions/OnlineStatusBar/OnlineStatusBar.status.php
@@ -15,10 +15,9 @@
1616 */
1717
1818 class OnlineStatusBar_StatusCheck {
19 -
2019 private static function getCacheKey( $user, $type ) {
2120 // get a key for cache
22 - return wfMemcKey( 'onlinestatusbarcache_' . $type . "_" . $user );
 21+ return wfMemcKey( 'onlinestatusbar_cache', $type, $user );
2322 }
2423
2524 /**

Status & tagging log