r97762 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97761‎ | r97762 | r97763 >
Date:20:25, 21 September 2011
Author:aaron
Status:ok
Tags:
Comment:
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()
Modified paths:
  • /trunk/phase3/includes/objectcache/MemcachedClient.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/objectcache/MemcachedClient.php
@@ -344,6 +344,16 @@
345345 return false;
346346 }
347347
 348+ public function lock( $key, $timeout = 0 ) {
 349+ /* stub */
 350+ return true;
 351+ }
 352+
 353+ public function unlock( $key ) {
 354+ /* stub */
 355+ return true;
 356+ }
 357+
348358 // }}}
349359 // {{{ disconnect_all()
350360

Follow-up revisions

RevisionCommit summaryAuthorDate
r97763MFT r97762aaron20:28, 21 September 2011
r98754MFT r93431, r94761, r97762, r97772, r97774, r97777, r97817reedy13:10, 3 October 2011

Status & tagging log