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