Skip to content

Commit c21f779

Browse files
committed
MAGETWO-64465: Investigate and fix post-refactoring issues
- removed unused code
1 parent 2575929 commit c21f779

File tree

1 file changed

+0
-17
lines changed
  • app/code/Magento/Catalog/Model/Product/Option/Type

1 file changed

+0
-17
lines changed

app/code/Magento/Catalog/Model/Product/Option/Type/File.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -444,23 +444,6 @@ public function parseOptionValue($optionValue, $productOptionValues)
444444
return null;
445445
}
446446

447-
/**
448-
* Validate Json serialized value
449-
*
450-
* @param string $jsonValue - JSON serialized value
451-
* @return mixed
452-
* @throws SerializationException
453-
*/
454-
private function unserializeJsonValue($jsonValue)
455-
{
456-
$value = $this->serializer->unserialize($jsonValue);
457-
if (json_last_error() === JSON_ERROR_NONE) {
458-
return $value;
459-
} else {
460-
throw new SerializationException(__('Invalid JSON value.'));
461-
}
462-
}
463-
464447
/**
465448
* Prepare option value for info buy request
466449
*

0 commit comments

Comments
 (0)