mirror of
https://github.com/flarum/framework.git
synced 2024-12-02 15:03:44 +08:00
Return the post that was added/changed/deleted
This commit is contained in:
parent
2e2617e5b0
commit
3b9d40289c
|
@ -200,7 +200,7 @@ class Discussion extends Model
|
|||
$this->postWasRemoved($post);
|
||||
}
|
||||
|
||||
return $post->exists;
|
||||
return $post;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user