Commit 61687fd1e7221f914cda762a4fa4875efc01f0a1
1 parent
064df3e0
Exists in
fix_sign_up_form
private-scraps: Remove commented out code
We don't mark people on organization's walls so I'm removing the commented out TODO and condition.
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
app/controllers/public/profile_controller.rb
... | ... | @@ -521,8 +521,6 @@ class ProfileController < PublicController |
521 | 521 | owner = item.user |
522 | 522 | end |
523 | 523 | !environment.admins.include?(user) && |
524 | - #TODO Consider this if allowing to mark people on organization's wall | |
525 | - #!profile.admins.include?(user) && | |
526 | 524 | owner != user && |
527 | 525 | target.is_a?(Scrap) && |
528 | 526 | target.marked_people.present? && | ... | ... |