From 9721fb75738db86618cd245906c7793086236fbf Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 26 Jan 2018 14:35:04 -0500 Subject: [PATCH] Linting --- lib/guardian/post_guardian.rb | 2 -- 1 file changed, 2 deletions(-) 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? &&