BUGFIX: we don't need this param

This commit is contained in:
Sam 2014-04-24 12:46:54 +10:00
parent 05efc8df16
commit 9bee0b6e2d
2 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected
if (data.type === "revised" || data.type === "acted"){
// TODO we could update less data for "acted"
// (only post actions)
postStream.triggerChangedPost(data.id, data.updated_at, data.type);
postStream.triggerChangedPost(data.id, data.updated_at);
return;
}

View File

@ -504,7 +504,7 @@ Discourse.PostStream = Em.Object.extend({
}
},
triggerChangedPost: function(postId, updatedAt, type) {
triggerChangedPost: function(postId, updatedAt) {
if (!postId) { return; }
var postIdentityMap = this.get('postIdentityMap'),