This commit is contained in:
Robin Ward 2018-01-26 14:35:04 -05:00
parent 44e2038b53
commit 9721fb7573
1 changed files with 0 additions and 2 deletions

View File

@ -113,7 +113,6 @@ module PostGuardian
return false return false
end end
if post.wiki && (@user.trust_level >= SiteSetting.min_trust_to_edit_wiki_post.to_i) if post.wiki && (@user.trust_level >= SiteSetting.min_trust_to_edit_wiki_post.to_i)
return can_create_post?(post.topic) return can_create_post?(post.topic)
end end
@ -122,7 +121,6 @@ module PostGuardian
return false return false
end end
if is_my_own?(post) if is_my_own?(post)
if post.hidden? if post.hidden?
return false if post.hidden_at.present? && return false if post.hidden_at.present? &&