Jelajahi Sumber

try to get params in clientarea

andre 2 tahun lalu
induk
melakukan
660f24ee96
2 mengubah file dengan 1 tambahan dan 8 penghapusan
  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->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))
         {

+ 1 - 1
kerioEmail.php

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