Slightly changed comment edit log message

This commit is contained in:
Marcin Kurczewski 2014-01-25 16:44:16 +01:00
parent 100303173e
commit a869c1da1e

View file

@ -103,7 +103,7 @@ class CommentController
if (InputHelper::get('sender') != 'preview')
{
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();
StatusHelper::success();