Skip to content

Commit

Permalink
updates aincorperating the module parameter into the myadmin_log calls
Browse files Browse the repository at this point in the history
  • Loading branch information
detain committed Feb 28, 2019
1 parent 8450f6e commit 63b2985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'].'<br>'.$settings['TBLNAME'].' Hostname: '.$serviceInfo[$settings['PREFIX'].'_hostname'].'<br>Repeat Invoice: '.$repeatInvoiceId.'<br>Description: '.self::$name.'<br>';
Expand Down

0 comments on commit 63b2985

Please sign in to comment.