HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/self/root/usr/local/CyberCP/public/imunifyav/plib/hooks/Notifications.php
<?php

use \Imunify360\ImunifyLocale;

class Modules_Imunify360_Notifications extends pm_Hook_Notifications
{
    public function getNotifications()
    {
        $defaultSubject = '<event_subject>';
        $defaultMessage = '<event_details>';

        return [
            'admin_notification' => [
                'title'             => ImunifyLocale::lmsg('hooks.notification.title.admin'),
                'notifyAdmin'       => true,
                'notifyResellers'   => false,
                'notifyClients'     => false,
                'notifyCustomEmail' => false,
                'customEmail'       => '',
                'subject'           => $defaultSubject,
                'message'           => $defaultMessage,
            ],
            'reseller_notification' => [
                'title'             => ImunifyLocale::lmsg('hooks.notification.title.reseller'),
                'notifyAdmin'       => false,
                'notifyResellers'   => true,
                'notifyClients'     => false,
                'notifyCustomEmail' => false,
                'customEmail'       => '',
                'subject'           => $defaultSubject,
                'message'           => $defaultMessage,
            ],
            'client_notification' => [
                'title'             => ImunifyLocale::lmsg('hooks.notification.title.client'),
                'notifyAdmin'       => false,
                'notifyResellers'   => false,
                'notifyClients'     => true,
                'notifyCustomEmail' => false,
                'customEmail'       => '',
                'subject'           => $defaultSubject,
                'message'           => $defaultMessage,
            ],
        ];
    }
}