fix for queue
This commit is contained in:
@@ -52,7 +52,7 @@ class TagAliasCorrection
|
|||||||
def fix!
|
def fix!
|
||||||
clear_cache
|
clear_cache
|
||||||
tag_alias.update_cache
|
tag_alias.update_cache
|
||||||
tag_alias.delay.update_posts
|
tag_alias.delay(:queue => "default").update_posts
|
||||||
tag_alias.antecedent_tag.fix_post_count if tag_alias.antecedent_tag
|
tag_alias.antecedent_tag.fix_post_count if tag_alias.antecedent_tag
|
||||||
tag_alias.consequent_tag.fix_post_count if tag_alias.consequent_tag
|
tag_alias.consequent_tag.fix_post_count if tag_alias.consequent_tag
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user