X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueue.php;h=0ca272cfdddd3608787efcd21831f86320e5422c;hb=5196ac32c60bf370463135c14eed3bba0d361940;hp=4f4728d917211fb6c3f1feb1ed334391525fd12b;hpb=8d4eb29b3d7da5f25a95ddfdaf17d272c476d999;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueue.php b/includes/jobqueue/JobQueue.php index 4f4728d917..0ca272cfdd 100644 --- a/includes/jobqueue/JobQueue.php +++ b/includes/jobqueue/JobQueue.php @@ -366,7 +366,7 @@ abstract class JobQueue { global $wgJobClasses; $this->assertNotReadOnly(); - if ( !WikiMap::isCurrentWikiDomain( $this->domain ) ) { + if ( !WikiMap::isCurrentWikiDbDomain( $this->domain ) ) { throw new MWException( "Cannot pop '{$this->type}' job off foreign '{$this->domain}' wiki queue." ); } elseif ( !isset( $wgJobClasses[$this->type] ) ) {