From: Aaron Schulz Date: Fri, 6 Mar 2009 01:40:56 +0000 (+0000) Subject: fix profiling X-Git-Tag: 1.31.0-rc.0~42592 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=2a4d0dc58320ece187e09c78c16ced7d77bc70da;p=lhc%2Fweb%2Fwiklou.git fix profiling --- diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 0312250081..0ffeb370ff 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -199,6 +199,7 @@ class LinksUpdate { $cache = $this->mTitle->getBacklinkCache(); $batches = $cache->partition( 'templatelinks', $wgUpdateRowsPerJob ); if ( !$batches ) { + wfProfileOut( __METHOD__ ); return; } $jobs = array();