}
}
- if ( !count( $items ) ) {
+ if ( $items === [] ) {
return; // nothing to do
}
$type = is_string( $type ) ? $type : $this->type;
// Use wiki ID for b/c
- $keyspace = WikiMap::getWikiIdFromDomain( $this->domain );
+ $keyspace = WikiMap::getWikiIdFromDbDomain( $this->domain );
$parts = [ $keyspace, 'jobqueue', $type, $prop ];