mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
oops
This commit is contained in:
parent
1cd32ced33
commit
a3344a6be3
@ -37,12 +37,6 @@ class PostRevisor
|
|||||||
)
|
)
|
||||||
end
|
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?
|
def should_revise?
|
||||||
@post.raw != @new_raw
|
@post.raw != @new_raw
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user