Răsfoiți Sursa

try to get params in clientarea

andre 2 ani în urmă
părinte
comite
660f24ee96
2 a modificat fișierele cu 1 adăugiri și 8 ștergeri
  1. 0 7
      app/Http/Client/EmailAccount.php
  2. 1 1
      kerioEmail.php

+ 0 - 7
app/Http/Client/EmailAccount.php

@@ -28,13 +28,6 @@ class EmailAccount extends AbstractClientController
     {
     {
         $productManager = new ProductManager();
         $productManager = new ProductManager();
         $productManager->loadByHostingId($this->request->get('id'));
         $productManager->loadByHostingId($this->request->get('id'));
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $params,
-            'Debug Accounts',
-            $this->getWhmcsParamByKey('status')
-        ); 
 
 
         if ($this->getWhmcsParamByKey('status') !== 'Active' || !$productManager->isControllerAccessible(ControllerEnums::EMAIL_ACCOUNT_PAGE))
         if ($this->getWhmcsParamByKey('status') !== 'Active' || !$productManager->isControllerAccessible(ControllerEnums::EMAIL_ACCOUNT_PAGE))
         {
         {

+ 1 - 1
kerioEmail.php

@@ -117,7 +117,7 @@ function KerioEmail_MetaData()
     return $appContext->runApp(__FUNCTION__);
     return $appContext->runApp(__FUNCTION__);
 }
 }
 
 
-function KerioEmail_ClientArea()
+function KerioEmail_ClientArea($params)
 {
 {
     require_once __DIR__ . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'App' . DIRECTORY_SEPARATOR . 'AppContext.php';
     require_once __DIR__ . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR . 'App' . DIRECTORY_SEPARATOR . 'AppContext.php';