|
@@ -26,8 +26,7 @@ |
|
|
block discarded – undo |
|
26
|
26
|
// Magento 2.0 compatibility |
|
27
|
27
|
$magentoVersion = \Magento\Framework\AppInterface::VERSION; |
|
28
|
28
|
$magentoEdition = 'Community'; // @TODO Replace this if EE is available |
|
29
|
|
- } |
|
30
|
|
- else { |
|
|
29
|
+ } else { |
|
31
|
30
|
// Magento 2.1+ compatibility |
|
32
|
31
|
/** @var \Magento\Framework\App\ProductMetadata $productMetadata */ |
|
33
|
32
|
$productMetadata = $this->getApplication()->getObjectManager()->get('\Magento\Framework\App\ProductMetadata'); |
Please login to merge, or discard this patch.