From 58a9df7571a3ad7789d8e643235ced80e7000c4e Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 23 Apr 2015 10:30:23 -0700 Subject: [PATCH] Don't profile setting up the temp directory It's boring and profiling of wfTempDir() will already catch it Change-Id: If4b489eb665af329fa9e3cb9b3e9913832b83862 --- includes/Setup.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/Setup.php b/includes/Setup.php index 596e6055e9..c5c16a0f39 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -523,9 +523,7 @@ if ( $wgSecureLogin && substr( $wgServer, 0, 2 ) !== '//' ) { // Now that GlobalFunctions is loaded, set defaults that depend on it. if ( $wgTmpDirectory === false ) { - $ps_tmpdir = Profiler::instance()->scopedProfileIn( $fname . '-tempDir' ); $wgTmpDirectory = wfTempDir(); - Profiler::instance()->scopedProfileOut( $ps_tmpdir ); } // We don't use counters anymore. Left here for extensions still -- 2.20.1