mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 10:15:03 +02:00
Different expired message
This commit is contained in:
parent
78e1e2f989
commit
e3c173bea4
1 changed files with 7 additions and 1 deletions
|
@ -89,7 +89,13 @@ foreach ($d as $ds) {
|
|||
|
||||
// Send notification and update user status
|
||||
try {
|
||||
echo Message::sendPackageNotification($c, $u['namebp'], $p['price'], $textExpired, $config['user_notification_expired']) . "\n";
|
||||
echo Message::sendPackageNotification(
|
||||
$c,
|
||||
$u['namebp'],
|
||||
$p['price'],
|
||||
Message::getMessageType($p['type'], $textExpired),
|
||||
$config['user_notification_expired']
|
||||
) . "\n";
|
||||
$u->status = 'off';
|
||||
$u->save();
|
||||
} catch (Throwable $e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue