mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-29 14:59:30 -05:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
@@ -220,11 +220,11 @@ class TorrentController extends BaseController
|
||||
// Announce To Shoutbox
|
||||
if ($anon == 0) {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('User [url=%s/users/', $appurl).$username.']'.$username.\sprintf('[/url] has uploaded a new '. $torrent->category->name .'. [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url], grab it now! :slight_smile:'
|
||||
\sprintf('User [url=%s/users/', $appurl).$username.']'.$username.\sprintf('[/url] has uploaded a new '.$torrent->category->name.'. [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url], grab it now! :slight_smile:'
|
||||
);
|
||||
} else {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('An anonymous user has uploaded a new '. $torrent->category->name .'. [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url], grab it now! :slight_smile:'
|
||||
\sprintf('An anonymous user has uploaded a new '.$torrent->category->name.'. [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url], grab it now! :slight_smile:'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user