This commit is contained in:
r888888888
2015-08-25 16:37:06 -07:00
parent 5f9a6aa0c1
commit c81e028462

View File

@@ -223,11 +223,9 @@ class TagImplication < ActiveRecord::Base
def update_forum_topic_for_approve
if forum_topic
CurrentUser.scoped(admin, "127.0.0.1") do
forum_topic.posts.create(
:body => "The tag implication #{antecedent_name} -> #{consequent_name} has been approved."
)
end
forum_topic.posts.create(
:body => "The tag implication #{antecedent_name} -> #{consequent_name} has been approved."
)
end
end