Commit da8f1795 by Alexander Makarov

Removed intl version check since it's very inconsistent and it seems bundled…

Removed intl version check since it's very inconsistent and it seems bundled versions are always the same ones for the same PHP versions
parent cdb9fbf6
...@@ -123,11 +123,7 @@ class MessageFormatter extends \MessageFormatter ...@@ -123,11 +123,7 @@ class MessageFormatter extends \MessageFormatter
*/ */
private static function needFix() private static function needFix()
{ {
return ( return version_compare(PHP_VERSION, '5.5.0', '<');
!defined('INTL_ICU_VERSION') ||
version_compare(INTL_ICU_VERSION, '48.0.0', '<') ||
version_compare(PHP_VERSION, '5.5.0', '<')
);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment