Skip to content

Commit 1df5de3

Browse files
committed
lots of updates dealing with return handling after activation and settinf of the key field for licenses
1 parent 3be3b13 commit 1df5de3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public static function getActivate(GenericEvent $event)
8383
if (!is_array($response) || !in_array($event['field1'], array_values($response))) {
8484
$response = $cl->license($serviceClass->getIp(), $event['field1']);
8585
//$serviceExtra = $response['mainKeyNumber'].','.$response['productKey'];
86+
request_log(self::$module, $GLOBALS['tf']->session->account_id, __FUNCTION__, 'cloudlinux', 'license', [$serviceClass->getIp(), $event['field1']], $response);
8687
myadmin_log(self::$module, 'info', 'Response: '.json_encode($response), __LINE__, __FILE__);
8788
if ($response === false) {
8889
$event['status'] = 'error';

0 commit comments

Comments
 (0)