summaryrefslogtreecommitdiffstats
path: root/web/react/stores
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/stores')
-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) {