mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
Implement hard deletion and rename soft delete to hide
This commit is contained in:
@@ -98,6 +98,10 @@ export default Ember.Controller.extend(Ember.Evented, UseComposerMixin, {
|
||||
discussion.set('readNumber', endNumber);
|
||||
discussion.save();
|
||||
}
|
||||
},
|
||||
|
||||
postRemoved: function(post) {
|
||||
this.get('stream').removePost(post);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user