From c6f9ec242609e9f08cad6d4081cea8281e09b965 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 28 Jul 2011 00:28:18 +0000 Subject: [PATCH] Followup r93343 Swap function_exists for MWInit::functionExists() --- includes/profiler/ProfilerSimpleUDP.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1