aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_jabber.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2014-12-30 02:22:13 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-01-11 13:22:59 +0100
commit63da128ee5891971cc9e4f283572e0198174d692 (patch)
treee35a7b1020bf944beb198cc9ab1df612ef77760c /phpBB/includes/functions_jabber.php
parentef1be6e247cf01a99e68ec85600a80fd62ca9a75 (diff)
downloadforums-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.php3
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');
}
/**