andre 1 жил өмнө
parent
commit
2e55e9131a

+ 0 - 9
app/Http/Client/Home.php

@@ -26,15 +26,6 @@ class Home extends AbstractClientController
 
     public function index()
     {
-
-        logModuleCall(
-            'ProxmoxVps',
-            __FUNCTION__,
-            $params,
-            'debug',
-            $this
-        );
-
         if ($this->getWhmcsParamByKey('status') != 'Active')
         {
             return;

+ 9 - 1
core/App/Controllers/Instances/AddonController.php

@@ -72,7 +72,15 @@ abstract class AddonController implements DefaultController
         $callback = array_reverse($callback);
         $class = array_pop($callback);
         $method = array_pop($callback);
-         
+        
+        logModuleCall(
+            'ProxmoxVps',
+            __FUNCTION__,
+            $params,
+            'debug',
+            $callback
+        );
+
         return is_string($class) &&  is_string($method) && method_exists($class, $method);
     }