Copy & paste mistake
authorPlatonides <platonides@users.mediawiki.org>
Sat, 25 Dec 2010 22:00:55 +0000 (22:00 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Sat, 25 Dec 2010 22:00:55 +0000 (22:00 +0000)
maintenance/purgeStaleMemcachedText.php

index f183b5e..200cc8b 100644 (file)
@@ -14,7 +14,7 @@ function purgeStaleMemcachedText() {
        echo "Going to purge text entries from $latestReplicatedTextId to $maxTextId in $wgDBname\n";
 
        for ( $i = $latestReplicatedTextId; $i < $maxTextId; $i++ ) {
-               $key = wfMemcKey( 'revisiontext', 'textid', $i++ );
+               $key = wfMemcKey( 'revisiontext', 'textid', $i );
                $wgMemc->delete( $key );
        }
 }