mirror of
https://github.com/moebooru/moebooru
synced 2025-08-22 01:47:48 +00:00
Remove old cache cleanup
This commit is contained in:
parent
7d1e2d7c3c
commit
e482b5aae5
@ -157,7 +157,6 @@ class ForumPost < ApplicationRecord
|
|||||||
end
|
end
|
||||||
|
|
||||||
def clear_cache
|
def clear_cache
|
||||||
Rails.cache.delete "forum_posts"
|
|
||||||
Rails.cache.delete LATEST_CACHE_KEY
|
Rails.cache.delete LATEST_CACHE_KEY
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user