diff --git a/lib/guardian/post_guardian.rb b/lib/guardian/post_guardian.rb index da7411d1eb2..5996f84812c 100644 --- a/lib/guardian/post_guardian.rb +++ b/lib/guardian/post_guardian.rb @@ -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? &&