Skip to content

Commit

Permalink
fix(build): Remove duplicated code in SendDraftTask
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Mar 11, 2016
1 parent 7fe4409 commit 9f2635f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/flux/tasks/send-draft-task.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -220,10 +220,6 @@ class SendDraftTask extends Task

Actions.sendDraftSuccess(message: @message, messageClientId: @message.clientId)

# Delete attachments from the uploads folder
for upload in @uploaded
Actions.attachmentUploaded(upload)

# Play the sending sound
if NylasEnv.config.get("core.sending.sounds")
SoundRegistry.playSound('send')
Expand Down

0 comments on commit 9f2635f

Please sign in to comment.