Merge pull request #4925 from jjaffeux/adds-tones-to-clear-cache

Makes sure we clear tonable_emojis cache
This commit is contained in:
Régis Hanol 2017-06-14 14:56:41 +02:00 committed by GitHub
commit 04e175bc06

View File

@ -62,6 +62,7 @@ class Emoji
Discourse.cache.delete(cache_key("standard_emojis"))
Discourse.cache.delete(cache_key("aliases_emojis"))
Discourse.cache.delete(cache_key("all_emojis"))
Discourse.cache.delete(cache_key("tonable_emojis"))
end
def self.db_file