diff options
Diffstat (limited to 'includes/MemcachedSessions.php')
-rw-r--r-- | includes/MemcachedSessions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/MemcachedSessions.php b/includes/MemcachedSessions.php index af49109c..e2dc52ca 100644 --- a/includes/MemcachedSessions.php +++ b/includes/MemcachedSessions.php @@ -13,8 +13,7 @@ * @todo document */ function memsess_key( $id ) { - global $wgDBname; - return "$wgDBname:session:$id"; + return wfMemcKey( 'session', $id ); } /** |