From da8f17955fdfccbfa863231655a53f1db29015a4 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 17 Oct 2013 00:41:40 +0400 Subject: [PATCH] Removed intl version check since it's very inconsistent and it seems bundled versions are always the same ones for the same PHP versions --- framework/yii/i18n/MessageFormatter.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/framework/yii/i18n/MessageFormatter.php b/framework/yii/i18n/MessageFormatter.php index 464f3f7..8479425 100644 --- a/framework/yii/i18n/MessageFormatter.php +++ b/framework/yii/i18n/MessageFormatter.php @@ -123,11 +123,7 @@ class MessageFormatter extends \MessageFormatter */ private static function needFix() { - return ( - !defined('INTL_ICU_VERSION') || - version_compare(INTL_ICU_VERSION, '48.0.0', '<') || - version_compare(PHP_VERSION, '5.5.0', '<') - ); + return version_compare(PHP_VERSION, '5.5.0', '<'); } } \ No newline at end of file