mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/16748] Enable code sniffing for static placement and adjust code
PHPBB3-16748
This commit is contained in:
@@ -101,7 +101,7 @@ class jabber
|
||||
/**
|
||||
* Able to use the SSL functionality?
|
||||
*/
|
||||
static public function can_use_ssl()
|
||||
public static function can_use_ssl()
|
||||
{
|
||||
return @extension_loaded('openssl');
|
||||
}
|
||||
@@ -109,7 +109,7 @@ class jabber
|
||||
/**
|
||||
* Able to use TLS?
|
||||
*/
|
||||
static public function can_use_tls()
|
||||
public static function can_use_tls()
|
||||
{
|
||||
if (!@extension_loaded('openssl') || !function_exists('stream_socket_enable_crypto') || !function_exists('stream_get_meta_data') || !function_exists('stream_set_blocking') || !function_exists('stream_get_wrappers'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user