Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix n98-magerun unable to clear cache #1

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

ma4nn
Copy link

@ma4nn ma4nn commented Nov 24, 2023

This small PR simplifies the cache flush events and fixes an issue that n98-magerun cache:clean fpc is not working correctly, because of the missing adminhtml_cache_refresh_type event.

Old Event New Event Notes
adminhtml_cache_flush_all (unchanged) Button "Flush Cache Storage"
controller_action_predispatch_adminhtml_cache_flushSystem adminhtml_cache_flush_system> Button "Flush&Apply Updates"
controller_action_predispatch_adminhtml_cache_massRefresh adminhtml_cache_refresh_type Grid Refresh
core_clean_cache (unchanged) Cron

@fballiano
Copy link
Owner

@ma4nn I'm don't know why I didn't get a notification of your PR, I'm so sorry, I'm merging and releasing it right now!

@fballiano fballiano merged commit 8a5276e into fballiano:master Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants