From 61687fd1e7221f914cda762a4fa4875efc01f0a1 Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Mon, 1 Aug 2016 12:06:46 -0300 Subject: [PATCH] private-scraps: Remove commented out code --- app/controllers/public/profile_controller.rb | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) diff --git a/app/controllers/public/profile_controller.rb b/app/controllers/public/profile_controller.rb index 0e5c83d..f354c5f 100644 --- a/app/controllers/public/profile_controller.rb +++ b/app/controllers/public/profile_controller.rb @@ -521,8 +521,6 @@ class ProfileController < PublicController owner = item.user end !environment.admins.include?(user) && - #TODO Consider this if allowing to mark people on organization's wall - #!profile.admins.include?(user) && owner != user && target.is_a?(Scrap) && target.marked_people.present? && -- libgit2 0.21.2