mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
TRIVIAL: remove debugging leftovers
This commit is contained in:
parent
3ae1ebdfc3
commit
1db40fce22
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user