diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-08-14 10:51:59 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-08-18 08:59:27 -0400 |
commit | d3743550b7b89f2b1444a2368378102f5493668e (patch) | |
tree | 335d065af5ed26ce3342dae3b806c3dbe172c642 /web | |
parent | 7e2da89590bcdf4081b18c8ce4e0b2b244f671de (diff) | |
download | chat-d3743550b7b89f2b1444a2368378102f5493668e.tar.gz chat-d3743550b7b89f2b1444a2368378102f5493668e.tar.bz2 chat-d3743550b7b89f2b1444a2368378102f5493668e.zip |
removed unused post store function
Diffstat (limited to 'web')
-rw-r--r-- | web/react/stores/post_store.jsx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/web/react/stores/post_store.jsx b/web/react/stores/post_store.jsx index 7fa9fc125..3e4fde30a 100644 --- a/web/react/stores/post_store.jsx +++ b/web/react/stores/post_store.jsx @@ -197,20 +197,6 @@ var PostStore = assign({}, EventEmitter.prototype, { BrowserStore.removeItem(key); }); }, - removeNonFailedPendingPosts: function(channelId) { - var postList = this.getPendingPosts(channelId); - if (!postList) { - return; - } - - var posts = postList.posts; - - for (var id in posts) { - if (!posts[id].did_fail) { - this._removePendingPost(channelId, id); - } - } - }, updatePendingPost: function(post) { var postList = this.getPendingPosts(post.channel_id); if (!postList) { |