diff options
| author | Gaëtan Muller <m.gaetan89@gmail.com> | 2014-12-30 02:22:13 +0100 |
|---|---|---|
| committer | Gaëtan Muller <m.gaetan89@gmail.com> | 2015-01-11 13:22:59 +0100 |
| commit | 63da128ee5891971cc9e4f283572e0198174d692 (patch) | |
| tree | e35a7b1020bf944beb198cc9ab1df612ef77760c /phpBB/includes/functions_jabber.php | |
| parent | ef1be6e247cf01a99e68ec85600a80fd62ca9a75 (diff) | |
| download | forums-63da128ee5891971cc9e4f283572e0198174d692.tar forums-63da128ee5891971cc9e4f283572e0198174d692.tar.gz forums-63da128ee5891971cc9e4f283572e0198174d692.tar.bz2 forums-63da128ee5891971cc9e4f283572e0198174d692.tar.xz forums-63da128ee5891971cc9e4f283572e0198174d692.zip | |
[ticket/12487] Update PHP code
PHPBB3-12487
Diffstat (limited to 'phpBB/includes/functions_jabber.php')
| -rw-r--r-- | phpBB/includes/functions_jabber.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions_jabber.php b/phpBB/includes/functions_jabber.php index bd2e9e93ac..a38888a861 100644 --- a/phpBB/includes/functions_jabber.php +++ b/phpBB/includes/functions_jabber.php @@ -87,8 +87,7 @@ class jabber */ static public function can_use_ssl() { - // Will not work with PHP >= 5.2.1 or < 5.2.3RC2 until timeout problem with ssl hasn't been fixed (http://bugs.php.net/41236) - return ((version_compare(PHP_VERSION, '5.2.1', '<') || version_compare(PHP_VERSION, '5.2.3RC2', '>=')) && @extension_loaded('openssl')) ? true : false; + return @extension_loaded('openssl'); } /** |
