mirror of
https://github.com/flarum/framework.git
synced 2025-05-22 06:39:57 +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);
|
$this->postWasRemoved($post);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $post->exists;
|
return $post;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user