mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
remove debugging letfovers
This commit is contained in:
parent
364437da28
commit
992154533f
1 changed files with 0 additions and 2 deletions
|
@ -39,8 +39,6 @@ class UploadsController < ApplicationController
|
|||
data = upload.errors.empty? ? upload : { errors: upload.errors.values.flatten }
|
||||
|
||||
MessageBus.publish("/uploads/#{type}", data.as_json, user_ids: [current_user.id])
|
||||
rescue => e
|
||||
pp e
|
||||
ensure
|
||||
tempfile.try(:close!) rescue nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue