Merge remote-tracking branch 'parent/main' into kb_migration
This commit is contained in:
commit
a8419d83ba
12 changed files with 98 additions and 64 deletions
|
@ -417,6 +417,6 @@ class MediaAttachment < ApplicationRecord
|
|||
end
|
||||
|
||||
def reset_parent_cache
|
||||
Rails.cache.delete("statuses/#{status_id}") if status_id.present?
|
||||
Rails.cache.delete("v3:statuses/#{status_id}") if status_id.present?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue