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)
1  2 
includes/job/jobs/RefreshLinksJob.php

@@@ -59,13 -59,8 +59,8 @@@ 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'] ) ) {
 +              if ( !empty( $this->params['recursive'] ) ) {
                        // Carry over information for de-duplication
                        $extraParams = $this->getRootJobParams();
                        // Avoid slave lag when fetching templates.