File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
Quote/Model/ResourceModel Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ public function getReservedOrderId($quote)
180
180
public function isOrderIncrementIdUsed ($ orderIncrementId )
181
181
{
182
182
/** @var \Magento\Framework\DB\Adapter\AdapterInterface $adapter */
183
- $ adapter = $ this ->getConnection ();
183
+ $ adapter = $ this ->_resources -> getConnection (' sales ' );
184
184
$ bind = [':increment_id ' => $ orderIncrementId ];
185
185
/** @var \Magento\Framework\DB\Select $select */
186
186
$ select = $ adapter ->select ();
Original file line number Diff line number Diff line change 5
5
*/
6
6
namespace Magento \SalesSequence \Setup ;
7
7
8
- use Magento \Framework \Setup \InstallDataInterface ;
9
8
use Magento \Framework \Setup \InstallSchemaInterface ;
10
9
use Magento \Framework \Setup \ModuleContextInterface ;
11
- use Magento \Framework \Setup \ModuleDataSetupInterface ;
12
10
use Magento \Framework \Setup \SchemaSetupInterface ;
13
11
14
12
/**
You can’t perform that action at this time.
0 commit comments