(Update) remove the word 'User' from system message

This commit is contained in:
Poppabear
2018-05-09 18:35:22 -04:00
parent 44af8475ef
commit 16ed00ca6e
+2 -2
View File
@@ -277,7 +277,7 @@ class ForumController extends Controller
$postUrl = "{$appurl}/forums/topic/{$topic->slug}.{$topic->id}?page={$post->getPageNumber()}#post-{$post->id}";
$profileUrl = "{$appurl}/{$user->username}.{$user->id}";
$this->chat->systemMessage("User [url=$profileUrl]{$user->username}[/url] has left a reply on topic [url={$postUrl}]{$topic->name}[/url]");
$this->chat->systemMessage("[url=$profileUrl]{$user->username}[/url] has left a reply on topic [url={$postUrl}]{$topic->name}[/url]");
// Mail Topic Creator Of New Reply
if ($post->user_id != $topic->first_post_user_id) {
@@ -371,7 +371,7 @@ class ForumController extends Controller
$topicUrl = "{$appurl}/forums/topic/{$topic->slug}.{$topic->id}";
$profileUrl = "{$appurl}/{$user->username}.{$user->id}";
$this->chat->systemMessage("User [url={$profileUrl}]{$user->username}[/url] has created a new topic [url={$topicUrl}]{$topic->name}[/url]");
$this->chat->systemMessage("[url={$profileUrl}]{$user->username}[/url] has created a new topic [url={$topicUrl}]{$topic->name}[/url]");
//Achievements
$user->unlock(new UserMadeFirstPost(), 1);