X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fjobqueue%2FJobQueueMemory.php;h=9b1fbdfaf3be3af7be3bfa03bb41bcbf680cc3dd;hb=51945dbca3594;hp=f9e2c3dc4128bbd9a153b23e5dec1f9b25658780;hpb=d917159e0d638dbc3bcbd7e2e733c43af629d1bc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/jobqueue/JobQueueMemory.php b/includes/jobqueue/JobQueueMemory.php index f9e2c3dc41..9b1fbdfaf3 100644 --- a/includes/jobqueue/JobQueueMemory.php +++ b/includes/jobqueue/JobQueueMemory.php @@ -155,8 +155,8 @@ class JobQueueMemory extends JobQueue { * @see JobQueue::doDelete */ protected function doDelete() { - if ( isset( self::$data[$this->type][$this->wiki] ) ) { - unset( self::$data[$this->type][$this->wiki] ); + if ( isset( self::$data[$this->type][$this->domain] ) ) { + unset( self::$data[$this->type][$this->domain] ); if ( !self::$data[$this->type] ) { unset( self::$data[$this->type] ); } @@ -217,14 +217,14 @@ class JobQueueMemory extends JobQueue { * @return mixed */ private function &getQueueData( $field, $init = null ) { - if ( !isset( self::$data[$this->type][$this->wiki][$field] ) ) { + if ( !isset( self::$data[$this->type][$this->domain][$field] ) ) { if ( $init !== null ) { - self::$data[$this->type][$this->wiki][$field] = $init; + self::$data[$this->type][$this->domain][$field] = $init; } else { return $init; } } - return self::$data[$this->type][$this->wiki][$field]; + return self::$data[$this->type][$this->domain][$field]; } }