*Typo
authorAaron Schulz <aaron@users.mediawiki.org>
Mon, 23 Apr 2007 18:25:22 +0000 (18:25 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Mon, 23 Apr 2007 18:25:22 +0000 (18:25 +0000)
maintenance/updateRestrictions.php

index fff6101..caf0f43 100644 (file)
@@ -56,7 +56,7 @@ function migrate_page_restrictions( $db ) {
                # We use insert() and not replace() as Article.php replaces
                # page_restrictions with '' when protected in the restrictions table
                if ( count( $batch ) ) {
-                       $db->insert( 'page_restictions', $batch, __FUNCTION__ );
+                       $db->insert( 'page_restrictions', $batch, __FUNCTION__ );
                }
                $blockStart += BATCH_SIZE;
                $blockEnd += BATCH_SIZE;