From: Aaron Schulz Date: Fri, 6 Dec 2013 02:41:36 +0000 (-0800) Subject: Removed excess title validity check X-Git-Tag: 1.31.0-rc.0~17638^2 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=304735839b093305856029719ef31808bb14fd8f;p=lhc%2Fweb%2Fwiklou.git Removed excess title validity check * The queue classes throw away such jobs already Change-Id: Id10f51952c5b87bbee3ccd1bbeacf05767e920b2 --- 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