TRIVIAL: remove debugging leftovers

This commit is contained in:
Régis Hanol 2014-08-07 19:21:38 +02:00
parent 3ae1ebdfc3
commit 1db40fce22

View File

@ -39,9 +39,6 @@ class PostDestroyer
end
def recover
puts "@" * 100
puts "staff? #{@user.staff?}"
puts "post.deleted_at #{@post.deleted_at}"
if @user.staff? && @post.deleted_at
staff_recovered
elsif @user.staff? || @user.id == @post.user_id