Skip to content

Commit 42593ea

Browse files
author
Olga Kopylova
committed
Merge remote-tracking branch 'mainline/master' into MAGETWO-40848-components-from-vendor
2 parents 284e082 + 8937e8d commit 42593ea

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ php -f index.php install --base-url=http://localhost/magento2/ \
7373
7474
For example,
7575
```
76-
/var/www/magento2/bin magento setup:upgrade
77-
/var/www/magento2/bin magento sampledata:install admin
76+
/var/www/magento2/bin/magento setup:upgrade
77+
/var/www/magento2/bin/magento sampledata:install admin
7878
```
7979
8080
#Removing Sample Data

app/code/Magento/SampleData/Module/Sales/Setup/Order/Processor.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,6 @@ protected function refundOrder(\Magento\Sales\Model\Order\Item $orderItem)
270270
if ($creditmemo && $creditmemo->isValidGrandTotal()) {
271271
$creditmemo->setOfflineRequested(true);
272272
$this->creditmemoManagement->refund($creditmemo, true);
273-
$creditmemoTransaction = $this->transactionFactory->create()
274-
->addObject($creditmemo)
275-
->addObject($creditmemo->getOrder());
276-
$creditmemoTransaction->save();
277273
}
278274
}
279275

app/code/Magento/SampleData/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ php -f index.php install --base-url=http://localhost/magento2/ \
7373
7474
For example,
7575
```
76-
/var/www/magento2/bin magento setup:upgrade
77-
/var/www/magento2/bin magento sampledata:install admin
76+
/var/www/magento2/bin/magento setup:upgrade
77+
/var/www/magento2/bin/magento sampledata:install admin
7878
```
7979
8080
#Removing Sample Data

0 commit comments

Comments
 (0)