From fa508042ffb45d9cd0c4e10290efdb625fc18815 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 14 Jun 2017 11:11:02 +0200 Subject: [PATCH] Makes sure we clear tonable_emojis cache --- app/models/emoji.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/emoji.rb b/app/models/emoji.rb index 80c66b26ac2..ce3c4dc3fdd 100644 --- a/app/models/emoji.rb +++ b/app/models/emoji.rb @@ -60,6 +60,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