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 "Refactor UploadBase::checkWarnings into smaller methods"
[lhc/web/wiklou.git]
/
includes
/
libs
/
objectcache
/
XCacheBagOStuff.php
diff --git
a/includes/libs/objectcache/XCacheBagOStuff.php
b/includes/libs/objectcache/XCacheBagOStuff.php
index
9dbff6f
..
47c2906
100644
(file)
--- a/
includes/libs/objectcache/XCacheBagOStuff.php
+++ b/
includes/libs/objectcache/XCacheBagOStuff.php
@@
-28,7
+28,7
@@
* @ingroup Cache
*/
class XCacheBagOStuff extends BagOStuff {
* @ingroup Cache
*/
class XCacheBagOStuff extends BagOStuff {
- p
ublic function get( $key, &$casToken = null
, $flags = 0 ) {
+ p
rotected function doGet( $key
, $flags = 0 ) {
$val = xcache_get( $key );
if ( is_string( $val ) ) {
$val = xcache_get( $key );
if ( is_string( $val ) ) {
@@
-44,7
+44,7
@@
class XCacheBagOStuff extends BagOStuff {
return $val;
}
return $val;
}
- public function set( $key, $value, $expire = 0 ) {
+ public function set( $key, $value, $expire = 0
, $flags = 0
) {
if ( !$this->isInteger( $value ) ) {
$value = serialize( $value );
}
if ( !$this->isInteger( $value ) ) {
$value = serialize( $value );
}