diff --git a/src/Plugin.php b/src/Plugin.php index b409250..c120f52 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -98,7 +98,7 @@ public static function doDisable(\ServiceHandler $serviceOrder, $repeatInvoiceId $serviceInfo = $serviceOrder->getServiceInfo(); $settings = get_module_settings(self::$module); require_once __DIR__.'/../../../../include/licenses/license.functions.inc.php'; - myadmin_log(self::$module, 'info', self::$name.' Deactivation', __LINE__, __FILE__); + myadmin_log(self::$module, 'info', self::$name.' Deactivation', __LINE__, __FILE__, self::$module); function_requirements('deactivate_directadmin'); deactivate_directadmin($serviceInfo[$settings['PREFIX'].'_ip']); $email = $settings['TBLNAME'].' ID: '.$serviceInfo[$settings['PREFIX'].'_id'].'
'.$settings['TBLNAME'].' Hostname: '.$serviceInfo[$settings['PREFIX'].'_hostname'].'
Repeat Invoice: '.$repeatInvoiceId.'
Description: '.self::$name.'
';