mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Fix #1217 enable notifications for scrap
This commit is contained in:
parent
05fed158d0
commit
b1e01b0fc5
9 changed files with 93 additions and 6 deletions
|
|
@ -563,6 +563,18 @@ class ncenterliteModel extends ncenterlite
|
|||
}
|
||||
break;
|
||||
|
||||
// Scrapped.
|
||||
case 'R':
|
||||
if($config->anonymous_scrap === 'Y')
|
||||
{
|
||||
$str = sprintf(lang('ncenterlite_scrap_anonymous'), $notification->target_summary, $type);
|
||||
}
|
||||
else
|
||||
{
|
||||
$str = sprintf(lang('ncenterlite_scrap'), $notification->target_nick_name, $notification->target_summary, $type);
|
||||
}
|
||||
break;
|
||||
|
||||
// Admin notification.
|
||||
case 'B':
|
||||
$str = sprintf(lang('ncenterlite_admin_content_message'), $notification->target_nick_name, $notification->target_browser, $notification->target_summary);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue