Removed excess title validity check
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 6 Dec 2013 02:41:36 +0000 (18:41 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 6 Dec 2013 03:01:23 +0000 (03:01 +0000)
* The queue classes throw away such jobs already

Change-Id: Id10f51952c5b87bbee3ccd1bbeacf05767e920b2

includes/job/jobs/RefreshLinksJob.php

index cc35cf1..717c041 100644 (file)
@@ -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