Merge "Removed excess title validity check"
authorBrian Wolff <bawolff+wn@gmail.com>
Sat, 14 Dec 2013 06:44:09 +0000 (06:44 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 14 Dec 2013 06:44:09 +0000 (06:44 +0000)
includes/job/jobs/RefreshLinksJob.php

index f446f64..c94db75 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 ( !empty( $this->params['recursive'] ) ) {
                        // Carry over information for de-duplication