aimanecouissi/module-system-config-file-cleanup
最新稳定版本:1.0.0
Composer 安装命令:
composer require aimanecouissi/module-system-config-file-cleanup
包简介
Delete old files from system configuration file fields
README 文档
README
Deletes replaced or cleared media files from Stores → Configuration file fields. The module cleans up previously uploaded files when Magento system configuration file fields are saved with a replacement or empty value.
Installation
composer require aimanecouissi/module-system-config-file-cleanup bin/magento module:enable AimaneCouissi_SystemConfigFileCleanup bin/magento setup:upgrade bin/magento cache:flush
Usage
When a Stores → Configuration file field backed by Magento\Config\Model\Config\Backend\File is saved with a
replacement file or an empty value, the previously stored media file is deleted. Fields that keep the same file value
leave the existing media file in place.
Uninstall
bin/magento module:disable AimaneCouissi_SystemConfigFileCleanup composer remove aimanecouissi/module-system-config-file-cleanup bin/magento setup:upgrade bin/magento cache:flush
Changelog
See CHANGELOG for all recent changes.
License
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-04-12