Explorar o código

cleanup pages

andre %!s(int64=2) %!d(string=hai) anos
pai
achega
dad7ed7a89

+ 0 - 15
app/UI/Client/DistributionList/Providers/DeleteListDataProvider.php

@@ -2,11 +2,6 @@
 
 namespace ThurData\Servers\KerioEmail\App\UI\Client\DistributionList\Providers;
 
-
-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\Services\Create\CreateDistributionList;
-use ThurData\Servers\KerioEmail\App\Libs\Kerio\Components\Api\Soap\Services\Delete\DeleteDistributionList;
 use ThurData\Servers\KerioEmail\Core\UI\ResponseTemplates\HtmlDataJsonResponse;
 use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\DataProviders\BaseDataProvider;
 use ThurData\Servers\KerioEmail\Api\KerioWhmcs;
@@ -34,11 +29,6 @@ class DeleteListDataProvider extends BaseDataProvider
 
     public function delete()
     {
-        /**
-         * hosting id
-         */
-        $hid = $this->request->get('id');
-                        
         $api = new KerioWhmcs('whmcsKerioEmail', 'Thurdata', '1.0');
         try {
             $api->login($this->getWhmcsParamByKey('serverhostname'), $this->getWhmcsParamByKey('serverusername'), $this->getWhmcsParamByKey('serverpassword'));
@@ -72,11 +62,6 @@ class DeleteListDataProvider extends BaseDataProvider
 
     public function massDelete()
     {
-        /**
-         * hosting id
-         */
-        $hid = $this->request->get('id');
-
         $api = new KerioWhmcs('whmcsKerioEmail', 'Thurdata', '1.0');
         try {
             $api->login($this->getWhmcsParamByKey('serverhostname'), $this->getWhmcsParamByKey('serverusername'), $this->getWhmcsParamByKey('serverpassword'));