tag corrections will now update the tag category cache
This commit is contained in:
@@ -44,6 +44,7 @@ class TagCorrection
|
|||||||
|
|
||||||
def fix!
|
def fix!
|
||||||
tag.delay(:queue => "default").fix_post_count
|
tag.delay(:queue => "default").fix_post_count
|
||||||
|
tag.update_category_cache_for_all
|
||||||
Post.expire_cache_for_all([tag.name])
|
Post.expire_cache_for_all([tag.name])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user