fix profiling
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 6 Mar 2009 01:40:56 +0000 (01:40 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 6 Mar 2009 01:40:56 +0000 (01:40 +0000)
includes/LinksUpdate.php

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