dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Omit RC_EXTERNAL edits from UDP feed"
[lhc/web/wiklou.git]
/
includes
/
objectcache
/
ObjectCacheSessionHandler.php
diff --git
a/includes/objectcache/ObjectCacheSessionHandler.php
b/includes/objectcache/ObjectCacheSessionHandler.php
index
e6c6881
..
bc76294
100644
(file)
--- a/
includes/objectcache/ObjectCacheSessionHandler.php
+++ b/
includes/objectcache/ObjectCacheSessionHandler.php
@@
-1,5
+1,5
@@
<?php
<?php
-/*
+/*
*
* Session storage in object cache.
*
* This program is free software; you can redistribute it and/or modify
* Session storage in object cache.
*
* This program is free software; you can redistribute it and/or modify
@@
-20,6
+20,13
@@
* @file
* @ingroup Cache
*/
* @file
* @ingroup Cache
*/
+
+/**
+ * Session storage in object cache.
+ * Used if $wgSessionsInObjectCache is true.
+ *
+ * @ingroup Cache
+ */
class ObjectCacheSessionHandler {
/**
* Install a session handler for the current web request
class ObjectCacheSessionHandler {
/**
* Install a session handler for the current web request
@@
-51,7
+58,7
@@
class ObjectCacheSessionHandler {
/**
* Get a cache key for the given session id.
*
/**
* Get a cache key for the given session id.
*
- * @param
$id String:
session id
+ * @param
string $id
session id
* @return String: cache key
*/
static function getKey( $id ) {
* @return String: cache key
*/
static function getKey( $id ) {
@@
-82,7
+89,7
@@
class ObjectCacheSessionHandler {
/**
* Callback when reading session data.
*
/**
* Callback when reading session data.
*
- * @param
$id String:
session id
+ * @param
string $id
session id
* @return Mixed: session data
*/
static function read( $id ) {
* @return Mixed: session data
*/
static function read( $id ) {
@@
-96,7
+103,7
@@
class ObjectCacheSessionHandler {
/**
* Callback when writing session data.
*
/**
* Callback when writing session data.
*
- * @param
$id String:
session id
+ * @param
string $id
session id
* @param $data Mixed: session data
* @return Boolean: success
*/
* @param $data Mixed: session data
* @return Boolean: success
*/
@@
-109,7
+116,7
@@
class ObjectCacheSessionHandler {
/**
* Callback to destroy a session when calling session_destroy().
*
/**
* Callback to destroy a session when calling session_destroy().
*
- * @param
$id String:
session id
+ * @param
string $id
session id
* @return Boolean: success
*/
static function destroy( $id ) {
* @return Boolean: success
*/
static function destroy( $id ) {
@@
-129,7
+136,7
@@
class ObjectCacheSessionHandler {
}
/**
}
/**
- * Shutdown function. See the comment inside ObjectCacheSessionHandler::install
+ * Shutdown function. See the comment inside ObjectCacheSessionHandler::install
* for rationale.
*/
static function handleShutdown() {
* for rationale.
*/
static function handleShutdown() {