Add missing wfProfileOut( __METHOD__ );
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 20 Sep 2008 07:31:44 +0000 (07:31 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 20 Sep 2008 07:31:44 +0000 (07:31 +0000)
includes/LinksUpdate.php

index 8b03947..6088fcc 100644 (file)
@@ -207,6 +207,7 @@ class LinksUpdate {
 
                $numRows = $res->numRows();
                if( !$numRows ) {
+                       wfProfileOut( __METHOD__ );
                        return; // nothing to do
                }
                $numBatches = ceil( $numRows / $wgUpdateRowsPerJob );