mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:28:38 +08:00
oops
This commit is contained in:
parent
1cd32ced33
commit
a3344a6be3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user