diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-08-15 01:29:47 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-08-15 01:29:47 +0200 |
commit | 370e83bb0dfd0c70de268c93bf07ad5ee0897192 (patch) | |
tree | 491674f4c242e4d6ba0d04eafa305174c35a3391 /includes/ObjectCache.php | |
parent | f4debf0f12d0524d2b2427c55ea3f16b680fad97 (diff) |
Update auf 1.13.0
Diffstat (limited to 'includes/ObjectCache.php')
-rw-r--r-- | includes/ObjectCache.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/includes/ObjectCache.php b/includes/ObjectCache.php index 7d9caf8a..01b61dfb 100644 --- a/includes/ObjectCache.php +++ b/includes/ObjectCache.php @@ -1,6 +1,7 @@ <?php /** - * @addtogroup Cache + * @file + * @ingroup Cache */ /** @@ -8,7 +9,7 @@ * It acts as a memcached server with no RAM, that is, all objects are * cleared the moment they are set. All set operations succeed and all * get operations return null. - * @addtogroup Cache + * @ingroup Cache */ class FakeMemCachedClient { function add ($key, $val, $exp = 0) { return true; } @@ -53,7 +54,7 @@ function &wfGetCache( $inputType ) { if (!class_exists("MemcachedClientforWiki")) { class MemCachedClientforWiki extends memcached { function _debugprint( $text ) { - wfDebug( "memcached: $text\n" ); + wfDebug( "memcached: $text" ); } } } @@ -87,7 +88,7 @@ function &wfGetCache( $inputType ) { } $cache =& $wgCaches[CACHE_DBA]; } - + if ( $type == CACHE_DB || ( $inputType == CACHE_ANYTHING && $cache === false ) ) { if ( !array_key_exists( CACHE_DB, $wgCaches ) ) { $wgCaches[CACHE_DB] = new MediaWikiBagOStuff('objectcache'); @@ -122,5 +123,3 @@ function &wfGetParserCacheStorage() { $ret =& wfGetCache( $wgParserCacheType ); return $ret; } - - |