1
0
mirror of https://github.com/flarum/core.git synced 2025-08-01 14:10:37 +02:00

Implement hard deletion and rename soft delete to hide

This commit is contained in:
Toby Zerner
2015-02-12 14:35:24 +10:30
parent c33697654a
commit 36787bcf45
18 changed files with 90 additions and 50 deletions

View File

@@ -15,9 +15,9 @@ export default DS.Model.extend({
editUser: DS.belongsTo('user'),
isEdited: Ember.computed.notEmpty('editTime'),
hideTime: DS.attr('date'),
hideUser: DS.belongsTo('user'),
isHidden: DS.attr('boolean'),
deleteTime: DS.attr('date'),
deleteUser: DS.belongsTo('user'),
canEdit: DS.attr('boolean'),
canDelete: DS.attr('boolean')