FIX: clear emoji cache after restore
This commit is contained in:
parent
aa41a9ce70
commit
56e01a766b
|
@ -50,6 +50,7 @@ module BackupRestore
|
|||
migrate_database
|
||||
reconnect_database
|
||||
reload_site_settings
|
||||
clear_emoji_cache
|
||||
|
||||
disable_readonly_mode
|
||||
### READ-ONLY / END ###
|
||||
|
@ -267,6 +268,11 @@ module BackupRestore
|
|||
SiteSetting.refresh!
|
||||
end
|
||||
|
||||
def clear_emoji_cache
|
||||
log "Clearing emoji cache..."
|
||||
Emoji.clear_cache
|
||||
end
|
||||
|
||||
def extract_uploads
|
||||
if `tar --list --file #{@tar_filename} | grep 'uploads/'`.present?
|
||||
log "Extracting uploads..."
|
||||
|
|
Loading…
Reference in New Issue