From 0a65d44c05ba9554e0cd1e033ee3443f50ff4d7f Mon Sep 17 00:00:00 2001 From: Frank Wall Date: Wed, 24 Feb 2021 12:14:17 +0100 Subject: [PATCH] net/haproxy: cleanup: remove unused parameter --- .../OPNsense/HAProxy/Api/StatisticsController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/Api/StatisticsController.php b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/Api/StatisticsController.php index 5864728ff..d90f272fc 100644 --- a/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/Api/StatisticsController.php +++ b/net/haproxy/src/opnsense/mvc/app/controllers/OPNsense/HAProxy/Api/StatisticsController.php @@ -45,7 +45,7 @@ class StatisticsController extends ApiControllerBase * get info * @return array|mixed */ - public function infoAction($zoneid = 0) + public function infoAction() { $backend = new Backend(); $responseRaw = $backend->configdRun("haproxy statistics info"); @@ -57,7 +57,7 @@ class StatisticsController extends ApiControllerBase * get counters * @return array|mixed */ - public function countersAction($zoneid = 0) + public function countersAction() { $backend = new Backend(); $responseRaw = $backend->configdRun("haproxy statistics stat"); @@ -69,7 +69,7 @@ class StatisticsController extends ApiControllerBase * get tables * @return array|mixed */ - public function tablesAction($zoneid = 0) + public function tablesAction() { $backend = new Backend(); $responseRaw = $backend->configdRun("haproxy statistics table");