summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-08-14 10:51:59 -0400
committerJoramWilander <jwawilander@gmail.com>2015-08-18 08:59:27 -0400
commitd3743550b7b89f2b1444a2368378102f5493668e (patch)
tree335d065af5ed26ce3342dae3b806c3dbe172c642
parent7e2da89590bcdf4081b18c8ce4e0b2b244f671de (diff)
downloadchat-d3743550b7b89f2b1444a2368378102f5493668e.tar.gz
chat-d3743550b7b89f2b1444a2368378102f5493668e.tar.bz2
chat-d3743550b7b89f2b1444a2368378102f5493668e.zip
removed unused post store function
-rw-r--r--web/react/stores/post_store.jsx14
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) {