mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-28 06:20:42 -05:00
(Update) remove the word 'User' from system message
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user