FIX: Optimized site icons were missing after backup restore

This commit is contained in:
Gerhard Schlager 2019-05-07 16:58:44 +02:00
parent 446ec1b44a
commit 2487e01c73
1 changed files with 3 additions and 0 deletions

View File

@ -452,6 +452,9 @@ module BackupRestore
end
def generate_optimized_images
log 'Optimizing site icons...'
SiteIconManager.ensure_optimized!
log 'Posts will be rebaked by a background job in sidekiq. You will see missing images until that has completed.'
log 'You can expedite the process by manually running "rake posts:rebake_uncooked_posts"'