From 5b307763e353800e417d394fa1265a48dc8fa4bf Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 20 Sep 2008 07:31:44 +0000 Subject: [PATCH] Add missing wfProfileOut( __METHOD__ ); --- includes/LinksUpdate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/LinksUpdate.php b/includes/LinksUpdate.php index 8b03947413..6088fcc9ea 100644 --- a/includes/LinksUpdate.php +++ b/includes/LinksUpdate.php @@ -207,6 +207,7 @@ class LinksUpdate { $numRows = $res->numRows(); if( !$numRows ) { + wfProfileOut( __METHOD__ ); return; // nothing to do } $numBatches = ceil( $numRows / $wgUpdateRowsPerJob ); -- 2.20.1