summaryrefslogtreecommitdiff
path: root/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/jobqueue/jobs/HTMLCacheUpdateJob.php')
-rw-r--r--includes/jobqueue/jobs/HTMLCacheUpdateJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/jobqueue/jobs/HTMLCacheUpdateJob.php b/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
index e5e521c3..a9010c25 100644
--- a/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
+++ b/includes/jobqueue/jobs/HTMLCacheUpdateJob.php
@@ -34,7 +34,7 @@
* @ingroup JobQueue
*/
class HTMLCacheUpdateJob extends Job {
- function __construct( $title, $params = '' ) {
+ function __construct( Title $title, array $params ) {
parent::__construct( 'htmlCacheUpdate', $title, $params );
// Base backlink purge jobs can be de-duplicated
$this->removeDuplicates = ( !isset( $params['range'] ) && !isset( $params['pages'] ) );