Skip to content

Commit 03a9163

Browse files
committed
remove useless override
1 parent 95c085a commit 03a9163

File tree

4 files changed

+3
-41
lines changed

4 files changed

+3
-41
lines changed

Diff for: Controller/Adminhtml/Config/Sftp/TestConnection.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Magento\Store\Api\Data\StoreInterface;
1515
use Magento\Store\Model\StoreManagerInterface;
1616
use Magento\Store\Model\ScopeInterface;
17+
use Magento\Framework\Filesystem\Io\Sftp;
1718

1819
/**
1920
* Class TestConnection
@@ -31,7 +32,7 @@ class TestConnection extends Action
3132
*/
3233
public function __construct(
3334
Context $context,
34-
\Bazaarvoice\Connector\Model\Filesystem\Io\Sftp $sftp,
35+
Sftp $sftp,
3536
ConfigProviderInterface $configProvider,
3637
StoreInterface $store,
3738
StoreManagerInterface $storeManager,

Diff for: Model/Feed/Feed.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
use Bazaarvoice\Connector\Api\ConfigProviderInterface;
1212
use Bazaarvoice\Connector\Api\StringFormatterInterface;
13-
use Bazaarvoice\Connector\Model\Filesystem\Io\Sftp;
13+
use Magento\Framework\Filesystem\Io\Sftp;
1414
use Bazaarvoice\Connector\Model\Source\Scope;
1515
use Exception;
1616
use Magento\Store\Model\Group;

Diff for: Model/Filesystem/Io/Sftp.php

-35
This file was deleted.

Diff for: etc/di.xml

-4
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
</type>
4545
<preference for="Magento\ReviewStaging\Ui\DataProvider\Product\Form\Modifier\Review" type="Bazaarvoice\Connector\Ui\ReviewStaging\Review"/>
4646

47-
48-
<!-- sftp -->
49-
<preference for="Magento\Framework\Filesystem\Io\Sftp" type="Bazaarvoice\Connector\Model\Filesystem\Io\Sftp" />
50-
5147
<!-- Admin Grid -->
5248
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
5349
<arguments>

0 commit comments

Comments
 (0)