mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Clear anon cache when clearing recently readonly.
This commit is contained in:
@@ -374,6 +374,8 @@ module Discourse
|
||||
|
||||
def self.clear_readonly!
|
||||
last_read_only[$redis.namespace] = nil
|
||||
Site.clear_anon_cache!
|
||||
true
|
||||
end
|
||||
|
||||
def self.request_refresh!(user_ids: nil)
|
||||
|
Reference in New Issue
Block a user