File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
app/code/Magento/SampleData Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ php -f index.php install --base-url=http://localhost/magento2/ \
73
73
74
74
For example,
75
75
```
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
78
78
```
79
79
80
80
#Removing Sample Data
Original file line number Diff line number Diff line change @@ -270,10 +270,6 @@ protected function refundOrder(\Magento\Sales\Model\Order\Item $orderItem)
270
270
if ($ creditmemo && $ creditmemo ->isValidGrandTotal ()) {
271
271
$ creditmemo ->setOfflineRequested (true );
272
272
$ this ->creditmemoManagement ->refund ($ creditmemo , true );
273
- $ creditmemoTransaction = $ this ->transactionFactory ->create ()
274
- ->addObject ($ creditmemo )
275
- ->addObject ($ creditmemo ->getOrder ());
276
- $ creditmemoTransaction ->save ();
277
273
}
278
274
}
279
275
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ php -f index.php install --base-url=http://localhost/magento2/ \
73
73
74
74
For example,
75
75
```
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
78
78
```
79
79
80
80
#Removing Sample Data
You can’t perform that action at this time.
0 commit comments