Permalink
Browse files

don't show manually private users' photos

  • Loading branch information...
1 parent ec05413 commit 797567b48eb7fa34757839be8dc9674fa9cb4df9 @mislav committed Sep 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 models.rb
View
@@ -119,7 +119,7 @@ def not_available!
end
def raise_if_recent_error
- not_available! if error_at and error_at > 1.day.ago
+ not_available! if private_account? or (error_at and error_at > 1.day.ago)
end
def record_error(response, do_raise = false)

0 comments on commit 797567b

Please sign in to comment.