File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
app/code/Magento/Catalog/Controller/Adminhtml/Product Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,6 @@ public function execute()
97
97
$ productTypeId = $ this ->getRequest ()->getParam ('type ' );
98
98
if ($ data ) {
99
99
try {
100
- $ this ->unserializeProductData ($ data );
101
100
$ product = $ this ->initializationHelper ->initialize (
102
101
$ this ->productBuilder ->build ($ this ->getRequest ())
103
102
);
@@ -181,30 +180,6 @@ public function execute()
181
180
return $ resultRedirect ;
182
181
}
183
182
184
- /**
185
- * Unserialize product data for configurable products
186
- *
187
- * @param array $postData
188
- * @return void
189
- */
190
- private function unserializeProductData ($ postData )
191
- {
192
- if (isset ($ postData ["configurable-matrix-serialized " ])) {
193
- $ configurableMatrixSerialized = $ postData ["configurable-matrix-serialized " ];
194
- if ($ configurableMatrixSerialized != null && !empty ($ configurableMatrixSerialized )) {
195
- $ postData ["configurable-matrix " ] = json_decode ($ configurableMatrixSerialized , true );
196
- unset($ postData ["configurable-matrix-serialized " ]);
197
- }
198
- }
199
- if (isset ($ postData ["associated_product_ids_serialized " ])) {
200
- $ associatedProductIdsSerialized = $ postData ["associated_product_ids_serialized " ];
201
- if ($ associatedProductIdsSerialized != null && !empty ($ associatedProductIdsSerialized )) {
202
- $ postData ["associated_product_ids " ] = json_decode ($ associatedProductIdsSerialized , true );
203
- unset($ postData ["associated_product_ids_serialized " ]);
204
- }
205
- }
206
- }
207
-
208
183
/**
209
184
* Notify customer when image was not deleted in specific case.
210
185
* TODO: temporary workaround must be eliminated in MAGETWO-45306
You can’t perform that action at this time.
0 commit comments