Browse Source

Removed intl version check since it's very inconsistent and it seems bundled versions are always the same ones for the same PHP versions

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
da8f17955f
  1. 6
      framework/yii/i18n/MessageFormatter.php

6
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', '<');
}
}
Loading…
Cancel
Save