Pārlūkot izejas kodu

debug clientarea

andre 2 gadi atpakaļ
vecāks
revīzija
4b3ea4f875
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. 1 3
      app/Http/Client/Home.php

+ 1 - 3
app/Http/Client/Home.php

@@ -9,7 +9,6 @@ use ThurData\Servers\KerioEmail\Core\Http\AbstractClientController;
 use ThurData\Servers\KerioEmail\Core\Helper;
 use ThurData\Servers\KerioEmail\App\Traits\HostingService;
 use ThurData\Servers\KerioEmail\Core\UI\Traits\WhmcsParams;
-use ThurData\Servers\KerioEmail\App\Traits\ExtensionsCheckerTrait;
 
 /**
  *
@@ -21,7 +20,6 @@ use ThurData\Servers\KerioEmail\App\Traits\ExtensionsCheckerTrait;
  */
 class Home extends AbstractClientController
 {
-    use ExtensionsCheckerTrait;
     use WhmcsParams;
 
     public function index()
@@ -31,7 +29,7 @@ class Home extends AbstractClientController
             __FUNCTION__,
             $params,
             'Debug params',
-            $this
+            $this->getWhmcsParamByKey('status')
         ); 
 
         if ($this->getWhmcsParamByKey('status') === 'Active')