Ensure $collationConds is defined on all paths
authorSam Reed <reedy@users.mediawiki.org>
Thu, 14 Apr 2011 18:46:37 +0000 (18:46 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 14 Apr 2011 18:46:37 +0000 (18:46 +0000)
maintenance/updateCollation.php

index 01483a1..8cbea5b 100644 (file)
@@ -67,6 +67,7 @@ TEXT;
 
                if ( $force ) {
                        $options['ORDER BY'] = 'cl_from, cl_to';
+                       $collationConds = array();
                } else {
                        $collationConds = array( 0 => 
                                'cl_collation != ' . $dbw->addQuotes( $wgCategoryCollation ) );