From: Chad Horohoe Date: Thu, 23 Apr 2015 17:30:23 +0000 (-0700) Subject: Don't profile setting up the temp directory X-Git-Tag: 1.31.0-rc.0~11608 X-Git-Url: https://git.cyclocoop.org/admin/Duna?a=commitdiff_plain;h=58a9df7571a3ad7789d8e643235ced80e7000c4e;p=lhc%2Fweb%2Fwiklou.git Don't profile setting up the temp directory It's boring and profiling of wfTempDir() will already catch it Change-Id: If4b489eb665af329fa9e3cb9b3e9913832b83862 --- 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