r21498 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21497‎ | r21498 | r21499 >
Date:18:30, 23 April 2007
Author:aaron
Status:old
Tags:
Comment:
*cough* ahem
Modified paths:
  • /trunk/phase3/maintenance/updateRestrictions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updateRestrictions.php
@@ -27,7 +27,7 @@
2828 $blockEnd = $start + BATCH_SIZE - 1;
2929 $encodedExpiry = Block::decodeExpiry('');
3030 while ( $blockEnd <= $end ) {
31 - $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_rescrictions !=''";
 31+ $cond = "page_id BETWEEN $blockStart AND $blockEnd AND page_restrictions !=''";
3232 $res = $db->select( 'page', array('page_id', 'page_restrictions'), $cond, __FUNCTION__ );
3333 $batch = array();
3434 while ( $row = $db->fetchObject( $res ) ) {