Skip to content

Commit

Permalink
MAGETWO-52717: [GitHub] Configurable product disabling lowest price a…
Browse files Browse the repository at this point in the history
…ssociated product still shows its price #4419

-- fix static tests
  • Loading branch information
vnayda committed Oct 6, 2016
1 parent dc56043 commit 31edc62
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,12 @@ class StockStatusBaseSelectProcessor implements BaseSelectProcessorInterface
*/
private $resource;

/**
* @var MetadataPool
*/
private $metadataPool;

/**
* @param ResourceConnection $resource
* @param MetadataPool $metadataPool
*/
public function __construct(ResourceConnection $resource, MetadataPool $metadataPool)
public function __construct(ResourceConnection $resource)
{
$this->resource = $resource;
$this->metadataPool = $metadataPool;
}

/**
Expand All @@ -46,7 +39,6 @@ public function __construct(ResourceConnection $resource, MetadataPool $metadata
*/
public function process(Select $select)
{
$linkField = $this->metadataPool->getMetadata(ProductInterface::class)->getLinkField();
$stockStatusTable = $this->resource->getTableName('cataloginventory_stock_status');

/** @var Select $select */
Expand Down

0 comments on commit 31edc62

Please sign in to comment.