Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/98811
Change subject: Remove unused local variable
......................................................................
Remove unused local variable
Change-Id: I5f13b3bf7e769d0b0960b44e15b9c2454d9eb165
---
M includes/cache/BacklinkCache.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/11/98811/1
diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php
index 686361b..2362564 100644
--- a/includes/cache/BacklinkCache.php
+++ b/includes/cache/BacklinkCache.php
@@ -426,7 +426,7 @@
$cacheEntry['numRows'] += $partitions['numRows'];
$cacheEntry['batches'] = array_merge(
$cacheEntry['batches'], $partitions['batches'] );
if ( count( $partitions['batches'] ) ) {
- list( $lStart, $lEnd ) = end(
$partitions['batches'] );
+ list( , $lEnd ) = end( $partitions['batches'] );
$start = $lEnd + 1; // pick up after this
inclusive range
}
} while ( $partitions['numRows'] >= $selectSize );
--
To view, visit https://gerrit.wikimedia.org/r/98811
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5f13b3bf7e769d0b0960b44e15b9c2454d9eb165
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits