Linting
This commit is contained in:
parent
44e2038b53
commit
9721fb7573
|
@ -113,7 +113,6 @@ module PostGuardian
|
|||
return false
|
||||
end
|
||||
|
||||
|
||||
if post.wiki && (@user.trust_level >= SiteSetting.min_trust_to_edit_wiki_post.to_i)
|
||||
return can_create_post?(post.topic)
|
||||
end
|
||||
|
@ -122,7 +121,6 @@ module PostGuardian
|
|||
return false
|
||||
end
|
||||
|
||||
|
||||
if is_my_own?(post)
|
||||
if post.hidden?
|
||||
return false if post.hidden_at.present? &&
|
||||
|
|
Loading…
Reference in New Issue