fix profiling

This commit is contained in:
Aaron Schulz 2009-03-06 01:40:56 +00:00
parent c01bbe48ec
commit 2a4d0dc583

View file

@ -199,6 +199,7 @@ class LinksUpdate {
$cache = $this->mTitle->getBacklinkCache();
$batches = $cache->partition( 'templatelinks', $wgUpdateRowsPerJob );
if ( !$batches ) {
wfProfileOut( __METHOD__ );
return;
}
$jobs = array();