diff options
author | Aaron Schulz <aaron@users.mediawiki.org> | 2011-09-21 20:25:58 +0000 |
---|---|---|
committer | Aaron Schulz <aaron@users.mediawiki.org> | 2011-09-21 20:25:58 +0000 |
commit | a6999018e5be979213f4932fb111548182c8a65b (patch) | |
tree | 64d82b90b5af2c268bc5b6eda983e96a587fad67 /includes | |
parent | 20edfc8ee3ac3ff584a48d539618602b7df90133 (diff) | |
download | mediawikicore-a6999018e5be979213f4932fb111548182c8a65b.tar.gz mediawikicore-a6999018e5be979213f4932fb111548182c8a65b.zip |
Added lock/unlock function stubs. Fixes:
PHP fatal error in /usr/local/apache/common-local/php-1.18/includes/objectcache/MemcachedPhpBagOStuff.php line 91:
Call to undefined method MemCachedClientforWiki::lock()
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/97762
Diffstat (limited to 'includes')
-rw-r--r-- | includes/objectcache/MemcachedClient.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/objectcache/MemcachedClient.php b/includes/objectcache/MemcachedClient.php index 51d312ff4287..dd4401a894f8 100644 --- a/includes/objectcache/MemcachedClient.php +++ b/includes/objectcache/MemcachedClient.php @@ -344,6 +344,16 @@ class MWMemcached { return false; } + public function lock( $key, $timeout = 0 ) { + /* stub */ + return true; + } + + public function unlock( $key ) { + /* stub */ + return true; + } + // }}} // {{{ disconnect_all() |