|
|
@@ -4,8 +4,6 @@ namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Pages;
|
|
|
|
|
|
use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Helpers\AccountHelper;
|
|
|
use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Fields\EnabledField;
|
|
|
-use ThurData\Servers\KerioEmail\App\Libs\Product\ProductManager;
|
|
|
-use ThurData\Servers\KerioEmail\Core\Models\Whmcs\Hosting;
|
|
|
use ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Buttons\AddAccountButton;
|
|
|
use ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Buttons\ChangePasswordButton;
|
|
|
use ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Buttons\ChangeStatusButton;
|
|
|
@@ -101,15 +99,12 @@ class Accounts extends DataTable implements ClientArea
|
|
|
*/
|
|
|
public function initContent()
|
|
|
{
|
|
|
- $hid = $this->getRequestValue('id');
|
|
|
- $hosting = Hosting::where('id', $hid)->first();
|
|
|
-
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
- $hosting,
|
|
|
+ $this->getWhmcsParamByKey('customfields'),
|
|
|
'Debug Error',
|
|
|
- $this->getRequestValue('id')
|
|
|
+ $this->getWhmcsParamByKey('acc_base')
|
|
|
);
|
|
|
|
|
|
$this->addMassActionButton(new MassChangeStatusButton());
|