https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114368
Revision: 114368
Author: maxsem
Date: 2012-03-21 13:51:35 +0000 (Wed, 21 Mar 2012)
Log Message:
-----------
Follow-up r114344: fixed outdated comment, removed a couple of unused vars
Modified Paths:
--------------
trunk/extensions/InterfaceConcurrency/includes/ConcurrencyCheck.php
Modified: trunk/extensions/InterfaceConcurrency/includes/ConcurrencyCheck.php
===================================================================
--- trunk/extensions/InterfaceConcurrency/includes/ConcurrencyCheck.php
2012-03-21 13:37:52 UTC (rev 114367)
+++ trunk/extensions/InterfaceConcurrency/includes/ConcurrencyCheck.php
2012-03-21 13:51:35 UTC (rev 114368)
@@ -61,8 +61,6 @@
$userId = $this->user->getId();
$cacheKey = wfMemcKey( 'concurrencycheck', $this->resourceType,
$record );
- global $wgInterfaceConcurrencyConfig;
-
// check the cache first.
$cached = $wgMemc->get( $cacheKey );
if ( $cached ) {
@@ -150,7 +148,7 @@
}
// replace is used here to support the override parameter
- $res = $dbw->replace(
+ $dbw->replace(
'concurrencycheck',
array( 'cc_resource_type', 'cc_record' ),
array(
@@ -413,7 +411,6 @@
* attempted.
*
* @param $checkoutInfo array (optional) of checkout information to
store
- * @return array
*/
protected function setCheckoutResult( $checkoutInfo = array() ) {
$this->lastCheckout = $checkoutInfo;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs