From: Aaron Schulz Date: Sat, 20 Sep 2008 07:31:44 +0000 (+0000) Subject: Add missing wfProfileOut( __METHOD__ ); X-Git-Tag: 1.31.0-rc.0~45201 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=5b307763e353800e417d394fa1265a48dc8fa4bf;p=lhc%2Fweb%2Fwiklou.git Add missing wfProfileOut( __METHOD__ ); --- 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 );