r21497 MediaWiki - Code Review archive

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

Diff [purge]

Index: trunk/phase3/maintenance/updateRestrictions.php
@@ -56,7 +56,7 @@
5757 # We use insert() and not replace() as Article.php replaces
5858 # page_restrictions with '' when protected in the restrictions table
5959 if ( count( $batch ) ) {
60 - $db->insert( 'page_restictions', $batch, __FUNCTION__ );
 60+ $db->insert( 'page_restrictions', $batch, __FUNCTION__ );
6161 }
6262 $blockStart += BATCH_SIZE;
6363 $blockEnd += BATCH_SIZE;