"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "includes/libs/lockmanager/ScopedLock.php" between
mediawiki-1.31.1.tar.gz and mediawiki-1.32.0.tar.gz

About: MediaWiki is a wiki engine (the collaborative editing software that runs for e.g. Wikipedia, the free encyclopedia).

ScopedLock.php  (mediawiki-1.31.1):ScopedLock.php  (mediawiki-1.32.0)
skipping to change at line 88 skipping to change at line 88
} }
return null; return null;
} }
/** /**
* Release a scoped lock and set any errors in the attatched StatusValue object. * Release a scoped lock and set any errors in the attatched StatusValue object.
* This is useful for early release of locks before function scope is des troyed. * This is useful for early release of locks before function scope is des troyed.
* This is the same as setting the lock object to null. * This is the same as setting the lock object to null.
* *
* @param ScopedLock &$lock * @param ScopedLock|null &$lock
* @since 1.21 * @since 1.21
*/ */
public static function release( ScopedLock &$lock = null ) { public static function release( ScopedLock &$lock = null ) {
$lock = null; $lock = null;
} }
/** /**
* Release the locks when this goes out of scope * Release the locks when this goes out of scope
*/ */
function __destruct() { function __destruct() {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)