From 2a4d0dc58320ece187e09c78c16ced7d77bc70da Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 6 Mar 2009 01:40:56 +0000 Subject: [PATCH] fix profiling --- includes/LinksUpdate.php | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.20.1