1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 23:14:29 +02:00

Rename discussion.readNumber

This commit is contained in:
Toby Zerner
2018-08-24 20:53:28 +09:30
parent 9074f7e592
commit a7ffed6778
7 changed files with 13 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ class UpdateDiscussionController extends AbstractShowController
// TODO: Refactor the ReadDiscussion (state) command into EditDiscussion?
// That's what extensions will do anyway.
if ($readNumber = array_get($data, 'attributes.readNumber')) {
if ($readNumber = array_get($data, 'attributes.lastReadPostNumber')) {
$state = $this->bus->dispatch(
new ReadDiscussion($discussionId, $actor, $readNumber)
);