X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobSpecification.php;h=d636dc6516232509cc2fbac81b9ef5d49e0f9db1;hb=7babd362babcbf7f20adb8e12edb4f4bc1d4249f;hp=616c6d6ab9bd7e80f20042e3402f1d5b8bcb9b7d;hpb=d42754e47722436ef52218f21a8e544a05ee9ad7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobSpecification.php b/includes/jobqueue/JobSpecification.php index 616c6d6ab9..b62b83c666 100644 --- a/includes/jobqueue/JobSpecification.php +++ b/includes/jobqueue/JobSpecification.php @@ -18,7 +18,6 @@ * http://www.gnu.org/copyleft/gpl.html * * @file - * @ingroup JobQueue */ /** @@ -128,7 +127,7 @@ class JobSpecification implements IJobSpecification { $this->type = $type; $this->params = $params; - $this->title = $title ?: Title::makeTitle( NS_SPECIAL, 'Badtitle/' . get_class( $this ) ); + $this->title = $title ?: Title::makeTitle( NS_SPECIAL, 'Badtitle/' . static::class ); $this->opts = $opts; } @@ -216,7 +215,7 @@ class JobSpecification implements IJobSpecification { 'opts' => $this->opts, 'title' => [ 'ns' => $this->title->getNamespace(), - 'key' => $this->title->getDbKey() + 'key' => $this->title->getDBkey() ] ]; }