From 24cec36efcd1afb3f4262f4c54c7450ab2f6edfe Mon Sep 17 00:00:00 2001 From: joweecaquicla Date: Thu, 17 Sep 2020 19:15:06 +0800 Subject: [PATCH] magento/adobe-stock-integration#1833: Add ability to disable renditions functionality to stores configuration - modified Config.php --- app/code/Magento/MediaGalleryRenditions/Model/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/MediaGalleryRenditions/Model/Config.php b/app/code/Magento/MediaGalleryRenditions/Model/Config.php index d1a48904d1f13..1e4d609f9d61d 100644 --- a/app/code/Magento/MediaGalleryRenditions/Model/Config.php +++ b/app/code/Magento/MediaGalleryRenditions/Model/Config.php @@ -18,7 +18,7 @@ class Config { private const TABLE_CORE_CONFIG_DATA = 'core_config_data'; - private const XML_PATH_ENABLED = 'system/media_gallery/enabled'; + private const XML_PATH_ENABLED = 'system/media_gallery_renditions/enabled'; private const XML_PATH_MEDIA_GALLERY_RENDITIONS_WIDTH_PATH = 'system/media_gallery_renditions/width'; private const XML_PATH_MEDIA_GALLERY_RENDITIONS_HEIGHT_PATH = 'system/media_gallery_renditions/height';