This commit is contained in:
Sam 2014-03-24 13:32:32 +11:00
parent 1cd32ced33
commit a3344a6be3

View File

@ -37,12 +37,6 @@ class PostRevisor
)
end
def secure_group_ids(topic)
@secure_group_ids ||= if topic.category && topic.category.read_restricted?
topic.category.secure_group_ids
end
end
def should_revise?
@post.raw != @new_raw
end