FIX: Clear banner topic cache after remapping

FIX: Clear banner topic cache after remapping

diff --git a/lib/db_helper.rb b/lib/db_helper.rb
index ecc1975..ede8cf0 100644
--- a/lib/db_helper.rb
+++ b/lib/db_helper.rb
@@ -105,6 +105,7 @@ class DbHelper
     SiteSetting.refresh!
     Theme.expire_site_cache!
     SiteIconManager.ensure_optimized!
+    ApplicationController.banner_json_cache.clear
   end
 
   def self.find_text_columns(excluded_tables)

GitHub sha: fafc6bcd

2 Likes