Skip to content

Commit da17dd5

Browse files
author
Roman Lytvynenko
committed
MC-29519: Category image saves to pub/media/catalog/tmp/category
1 parent fafd262 commit da17dd5

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Catalog/Model/Category/Attribute/Backend

1 file changed

+1
-2
lines changed

app/code/Magento/Catalog/Model/Category/Attribute/Backend/Image.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,10 @@ private function fileResidesOutsideCategoryDir($value)
219219
*
220220
* @param \Magento\Framework\DataObject $object
221221
* @return \Magento\Catalog\Model\Category\Attribute\Backend\Image
222+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
222223
*/
223224
public function afterSave($object)
224225
{
225-
parent::afterSave($object);
226-
227226
return $this;
228227
}
229228
}

0 commit comments

Comments
 (0)