mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-24 00:13:27 +00:00
Adjust InitImageDataJob
$params cannot a bool here Job::run has to return a bool Change-Id: Ieed6675e8de0e3ed4c3376676d5b027a6ab9f4f2
This commit is contained in:
parent
848c07a762
commit
bc4b81c7bb
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue