1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 17:56:14 +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

@@ -111,7 +111,7 @@ class Discussion extends Entity
public function comments()
{
return $this->posts()->where('type', 'comment')->whereNull('delete_time');
return $this->posts()->where('type', 'comment')->whereNull('hide_time');
}
public function startPost()