From: Sam Reed Date: Thu, 28 Jul 2011 00:28:18 +0000 (+0000) Subject: Followup r93343 X-Git-Tag: 1.31.0-rc.0~28578 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=c6f9ec242609e9f08cad6d4081cea8281e09b965;p=lhc%2Fweb%2Fwiklou.git Followup r93343 Swap function_exists for MWInit::functionExists() --- diff --git a/includes/profiler/ProfilerSimpleUDP.php b/includes/profiler/ProfilerSimpleUDP.php index b13634eb09..cd43a39b0a 100644 --- a/includes/profiler/ProfilerSimpleUDP.php +++ b/includes/profiler/ProfilerSimpleUDP.php @@ -20,7 +20,7 @@ class ProfilerSimpleUDP extends ProfilerSimple { return; } - if ( !function_exists( 'socket_create' ) ) { + if ( !MWInit::functionExists( 'socket_create' ) ) { # Sockets are not enabled return; }