MediaWiki REL1_31
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.