Slightly changed comment edit log message
This commit is contained in:
parent
100303173e
commit
a869c1da1e
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class CommentController
|
||||||
if (InputHelper::get('sender') != 'preview')
|
if (InputHelper::get('sender') != 'preview')
|
||||||
{
|
{
|
||||||
CommentModel::save($comment);
|
CommentModel::save($comment);
|
||||||
LogHelper::log('{user} has edited comment in {post}', ['post' => TextHelper::reprPost($comment->getPost())]);
|
LogHelper::log('{user} edited comment in {post}', ['post' => TextHelper::reprPost($comment->getPost())]);
|
||||||
}
|
}
|
||||||
$this->context->transport->textPreview = $comment->getText();
|
$this->context->transport->textPreview = $comment->getText();
|
||||||
StatusHelper::success();
|
StatusHelper::success();
|
||||||
|
|
Loading…
Reference in a new issue