mirror of
https://github.com/flarum/framework.git
synced 2025-05-21 14:22:33 +08:00
Return the post that was added/changed/deleted
This commit is contained in:
@ -200,7 +200,7 @@ class Discussion extends Model
|
||||
$this->postWasRemoved($post);
|
||||
}
|
||||
|
||||
return $post->exists;
|
||||
return $post;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user