SpecialJavaScriptTest: Use Config instead of globals
[lhc/web/wiklou.git] / includes / profiler / ProfilerSimpleUDP.php
index 982c6ae..22d5cd4 100644 (file)
  *  http://git.wikimedia.org/tree/operations%2Fsoftware.git/master/udpprofile)
  * @ingroup Profiler
  */
-class ProfilerSimpleUDP extends ProfilerSimple {
+class ProfilerSimpleUDP extends ProfilerStandard {
+       protected function collateOnly() {
+               return true;
+       }
+
        public function isPersistent() {
                return true;
        }
@@ -37,11 +41,6 @@ class ProfilerSimpleUDP extends ProfilerSimple {
 
                $this->close();
 
-               if ( isset( $this->mCollated['-total'] ) && $this->mCollated['-total']['real'] < $this->mMinimumTime ) {
-                       # Less than minimum, ignore
-                       return;
-               }
-
                if ( !function_exists( 'socket_create' ) ) {
                        # Sockets are not enabled
                        return;