From e0983c311b3856a0a733ce746393169cc71f2628 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 14 Apr 2014 20:44:18 +0200 Subject: [PATCH] Make profiling to UDP work again Fix for I1260bab2b5 (afa6af0). Since $this->mCollated['-total'] is normally always defined, this would cause no logging to UDP at all. Change-Id: Ibce1c8662b4b3e99e77723f5377dd654b4f59be1 --- includes/profiler/ProfilerSimpleUDP.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/profiler/ProfilerSimpleUDP.php b/includes/profiler/ProfilerSimpleUDP.php index e9bcff6414..dfe923d6c4 100644 --- a/includes/profiler/ProfilerSimpleUDP.php +++ b/includes/profiler/ProfilerSimpleUDP.php @@ -41,11 +41,6 @@ class ProfilerSimpleUDP extends Profiler { $this->close(); - if ( isset( $this->mCollated['-total'] ) ) { - # Less than minimum, ignore - return; - } - if ( !function_exists( 'socket_create' ) ) { # Sockets are not enabled return; -- 2.20.1