File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
app/code/Magento/Catalog/Controller/Adminhtml/Product Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 15
15
use Magento \Framework \App \Request \DataPersistorInterface ;
16
16
17
17
/**
18
- * Class Save
18
+ * Product save controller
19
+ *
19
20
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
20
21
*/
21
22
class Save extends \Magento \Catalog \Controller \Adminhtml \Product implements HttpPostActionInterface
@@ -141,10 +142,6 @@ public function execute()
141
142
$ canSaveCustomOptions = $ product ->getCanSaveCustomOptions ();
142
143
$ product ->save ();
143
144
$ this ->handleImageRemoveError ($ data , $ product ->getId ());
144
- $ this ->categoryLinkManagement ->assignProductToCategories (
145
- $ product ->getSku (),
146
- $ product ->getCategoryIds ()
147
- );
148
145
$ productId = $ product ->getEntityId ();
149
146
$ productAttributeSetId = $ product ->getAttributeSetId ();
150
147
$ productTypeId = $ product ->getTypeId ();
You can’t perform that action at this time.
0 commit comments