Skip to content

Commit 2c51f5b

Browse files
committed
MAGETWO-36620: Unable to place order with payment methods
- remove dependency on other module
1 parent 1faa616 commit 2c51f5b

File tree

1 file changed

+0
-19
lines changed
  • app/code/Magento/Payment/Block/Transparent

1 file changed

+0
-19
lines changed

app/code/Magento/Payment/Block/Transparent/Iframe.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,18 @@ class Iframe extends \Magento\Framework\View\Element\Template
1919
*/
2020
protected $coreRegistry;
2121

22-
/**
23-
* @var \Magento\Authorizenet\Helper\DataFactory
24-
*/
25-
protected $dataFactory;
26-
2722
/**
2823
* Construct
2924
*
3025
* @param \Magento\Framework\View\Element\Template\Context $context
3126
* @param \Magento\Framework\Registry $registry
32-
* @param \Magento\Authorizenet\Helper\DataFactory $dataFactory
3327
* @param array $data
3428
*/
3529
public function __construct(
3630
\Magento\Framework\View\Element\Template\Context $context,
3731
\Magento\Framework\Registry $registry,
38-
\Magento\Authorizenet\Helper\DataFactory $dataFactory,
3932
array $data = []
4033
) {
41-
$this->dataFactory = $dataFactory;
4234
$this->coreRegistry = $registry;
4335
parent::__construct($context, $data);
4436
}
@@ -56,15 +48,4 @@ protected function _prepareLayout()
5648
}
5749
return parent::_prepareLayout();
5850
}
59-
60-
/**
61-
* Get helper data
62-
*
63-
* @param string $area
64-
* @return \Magento\Authorizenet\Helper\Backend\Data|\Magento\Authorizenet\Helper\Data
65-
*/
66-
public function getHelper($area)
67-
{
68-
return $this->dataFactory->create($area);
69-
}
7051
}

0 commit comments

Comments
 (0)