From: Brian Wolff Date: Thu, 4 Apr 2013 12:27:19 +0000 (+0000) Subject: Revert "(bug 46615) updateCollation.php: sanity check the collation before proceeding" X-Git-Tag: 1.31.0-rc.0~19661 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=af6d3572fa0e91248ab71e0af5fc619aacf125ae;p=lhc%2Fweb%2Fwiklou.git Revert "(bug 46615) updateCollation.php: sanity check the collation before proceeding" Sorry, forgot that method was not in the base class, and I had only tested with uca based collations. This breaks on uppercase type collations. This reverts commit 6eb84144df605feb717efc91c84c00eaec62a5f6 Change-Id: Ib7b9597ff842a76185ba5c153922834ffb741237 --- diff --git a/maintenance/updateCollation.php b/maintenance/updateCollation.php index 1ff6815818..94b2537b42 100644 --- a/maintenance/updateCollation.php +++ b/maintenance/updateCollation.php @@ -82,10 +82,6 @@ TEXT; $collation = Collation::singleton(); } - // Collation sanity check: in some cases the constructor will work, - // but this will raise an exception, breaking all category pages - $collation->getFirstLetterData(); - $options = array( 'LIMIT' => self::BATCH_SIZE, 'ORDER BY' => 'cl_to, cl_type, cl_from',