|
|
@@ -7,6 +7,7 @@ use ThurData\Servers\KerioEmail\App\Enums\Response;
|
|
|
use ThurData\Servers\KerioEmail\App\Helpers\KerioManager;
|
|
|
use ThurData\Servers\KerioEmail\App\Libs\Product\ProductManager;
|
|
|
use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Models\Domain;
|
|
|
+use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Traits\ProductManagerHandler;
|
|
|
use ThurData\Servers\KerioEmail\App\Traits\ExtensionsCheckerTrait;
|
|
|
use ThurData\Servers\KerioEmail\Core\App\Controllers\Instances\AddonController;
|
|
|
use ThurData\Servers\KerioEmail\App\Traits\HostingService;
|
|
|
@@ -26,6 +27,7 @@ class CreateAccount extends AddonController
|
|
|
use ExtensionsCheckerTrait;
|
|
|
use HostingService;
|
|
|
use WhmcsParams;
|
|
|
+ use ProductManagerHandler;
|
|
|
|
|
|
/**
|
|
|
* create domain in kerio
|
|
|
@@ -81,7 +83,7 @@ class CreateAccount extends AddonController
|
|
|
__FUNCTION__,
|
|
|
$params,
|
|
|
'Debug ID',
|
|
|
- $this->formData
|
|
|
+ $this->productManager->get('acc_base')
|
|
|
);
|
|
|
} catch (KerioApiException $error) {
|
|
|
|