mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: allows to have custom emoji translation without static file (#9893)
This commit is contained in:
parent
207b72ade1
commit
77801aa9be
11 changed files with 94 additions and 17 deletions
|
@ -18,6 +18,7 @@ class Plugin::CustomEmoji
|
|||
def self.clear_cache
|
||||
@@cache_key = CACHE_KEY
|
||||
@@emojis = {}
|
||||
@@translations = {}
|
||||
end
|
||||
|
||||
def self.register(name, url, group = Emoji::DEFAULT_GROUP)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue