File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
app/code/Magento/ImportExport/Controller/Adminhtml/Import Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ public function execute()
124124
125125 $ this ->addErrorMessages ($ resultBlock , $ errorAggregator );
126126 $ resultBlock ->addSuccess (__ ('Import successfully done ' ));
127+ $ this ->_eventManager ->dispatch ('log_admin_import ' );
127128 }
128129
129130 return $ resultLayout ;
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ public function execute()
5151 $ import = $ this ->getImport ()->setData ($ data );
5252 try {
5353 $ source = $ import ->uploadFileAndGetSource ();
54+ $ this ->_eventManager ->dispatch ('log_admin_import ' );
5455 $ this ->processValidationResult ($ import ->validateSource ($ source ), $ resultBlock );
5556 $ ids = $ import ->getValidatedIds ();
5657 if (count ($ ids ) > 0 ) {
You can’t perform that action at this time.
0 commit comments