fix profiling
This commit is contained in:
parent
c01bbe48ec
commit
2a4d0dc583
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ class LinksUpdate {
|
|||
$cache = $this->mTitle->getBacklinkCache();
|
||||
$batches = $cache->partition( 'templatelinks', $wgUpdateRowsPerJob );
|
||||
if ( !$batches ) {
|
||||
wfProfileOut( __METHOD__ );
|
||||
return;
|
||||
}
|
||||
$jobs = array();
|
||||
|
|
|
|||
Loading…
Reference in a new issue