From 304735839b093305856029719ef31808bb14fd8f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 5 Dec 2013 18:41:36 -0800 Subject: [PATCH] Removed excess title validity check * The queue classes throw away such jobs already Change-Id: Id10f51952c5b87bbee3ccd1bbeacf05767e920b2 --- includes/job/jobs/RefreshLinksJob.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/includes/job/jobs/RefreshLinksJob.php b/includes/job/jobs/RefreshLinksJob.php index cc35cf19fc..717c0413ea 100644 --- a/includes/job/jobs/RefreshLinksJob.php +++ b/includes/job/jobs/RefreshLinksJob.php @@ -59,11 +59,6 @@ class RefreshLinksJob extends Job { function run() { global $wgUpdateRowsPerJob; - if ( is_null( $this->title ) ) { - $this->setLastError( "Invalid page title" ); - return false; - } - // Job to update all (or a range of) backlink pages for a page if ( isset( $this->params['recursive'] ) ) { // Carry over information for de-duplication -- 2.20.1