MediaWiki REL1_33
NullLockManager.php
Go to the documentation of this file.
1<?php
29 protected function doLock( array $paths, $type ) {
30 return StatusValue::newGood();
31 }
32
33 protected function doUnlock( array $paths, $type ) {
34 return StatusValue::newGood();
35 }
36}
Class for handling resource locking.
Simple version of LockManager that does nothing.
doLock(array $paths, $type)
Lock resources with the given keys and lock type.
doUnlock(array $paths, $type)
Unlock resources with the given keys and lock type.
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))