Remove superfluous code.

pull/188/head
Ludovic Marcotte 2016-01-25 14:32:56 -05:00
parent 5ad4d317df
commit dd59ef6c1d
1 changed files with 0 additions and 1 deletions

View File

@ -269,7 +269,6 @@
return Account.$$resource.fetch(this.id.toString(), 'compose').then(function(data) {
Account.$log.debug('New message (compose): ' + JSON.stringify(data, undefined, 2));
var message = new Account.$Message(data.accountId, _this.$getMailboxByPath(data.mailboxPath), data);
message.isNew = true;
return message;
}).then(function(message) {
// Fetch draft initial data