Brian Wolff has submitted this change and it was merged. Change subject: Removed excess title validity check ......................................................................
Removed excess title validity check * The queue classes throw away such jobs already Change-Id: Id10f51952c5b87bbee3ccd1bbeacf05767e920b2 --- M includes/job/jobs/RefreshLinksJob.php 1 file changed, 0 insertions(+), 5 deletions(-) Approvals: BryanDavis: Looks good to me, but someone else must approve Brian Wolff: Looks good to me, approved diff --git a/includes/job/jobs/RefreshLinksJob.php b/includes/job/jobs/RefreshLinksJob.php index cc35cf1..717c041 100644 --- a/includes/job/jobs/RefreshLinksJob.php +++ b/includes/job/jobs/RefreshLinksJob.php @@ -59,11 +59,6 @@ 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 -- To view, visit https://gerrit.wikimedia.org/r/99598 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id10f51952c5b87bbee3ccd1bbeacf05767e920b2 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> Gerrit-Reviewer: Brian Wolff <bawolff...@gmail.com> Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org> Gerrit-Reviewer: Chad <ch...@wikimedia.org> Gerrit-Reviewer: jenkins-bot _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits