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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user