Adjust InitImageDataJob

$params cannot a bool here
Job::run has to return a bool

Change-Id: Ieed6675e8de0e3ed4c3376676d5b027a6ab9f4f2
This commit is contained in:
Umherirrender 2018-04-07 12:07:53 +02:00
parent 848c07a762
commit bc4b81c7bb

View file

@ -11,7 +11,7 @@ use Title;
class InitImageDataJob extends Job {
/**
* @param Title $title Title object associated with this job
* @param array|bool $params Parameters to the job, containing an array of
* @param array $params Parameters to the job, containing an array of
* page ids representing which pages to process
*/
public function __construct( Title $title, array $params ) {
@ -34,5 +34,6 @@ class InitImageDataJob extends Job {
MWExceptionHandler::logException( $e );
}
}
return true;
}
}