Refresh site settings after a remap

This commit is contained in:
Régis Hanol 2018-04-23 09:57:13 +02:00 committed by GitHub
parent 597330ad1d
commit 69c32a2651
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,8 @@ class DbHelper
column_name = rc["column_name"]
connection.async_exec("UPDATE #{table_name} SET #{column_name} = REPLACE(#{column_name}, $1, $2) WHERE #{column_name} LIKE $3", args) rescue nil
end
SiteSetting.refresh!
end
end