* Fix regression in LinkBatch.php breaking PHP 5.0
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 18 Oct 2007 15:55:41 +0000 (15:55 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 18 Oct 2007 15:55:41 +0000 (15:55 +0000)
commit4dc0ddc86a04fbdc03e22fd95f57d2e5c4ae9f3a
treeffe37e37367636db3c5076c15ac453bfe380b757
parent3ef37ae1286b9271c6618e6b9addb7717318b638
* Fix regression in LinkBatch.php breaking PHP 5.0

PHP 5.0.5 is unhappy about current(array_keys($dbkeys)), since current() is
one of those magic things that uses the pointer in an array.

Probably key($dbkeys) would do the job instead, but I rather dislike all those
funcs. :) Grabbing a temporary var in array_keys() instead for cleanliness.
RELEASE-NOTES
includes/LinkBatch.php