From 35a69fbfe0930bb33f0f52fa2f327b1274a50644 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Thu, 18 Jun 2020 13:05:17 +0200 Subject: [PATCH] add missing parmeter customerid for SubDomains.delete() which is required when called as admin; fixes #862 Signed-off-by: Michael Kaufmann --- lib/Froxlor/Api/Commands/SubDomains.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Froxlor/Api/Commands/SubDomains.php b/lib/Froxlor/Api/Commands/SubDomains.php index b07cada7..968e286b 100644 --- a/lib/Froxlor/Api/Commands/SubDomains.php +++ b/lib/Froxlor/Api/Commands/SubDomains.php @@ -875,7 +875,9 @@ class SubDomains extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resourc * optional, the domain-id * @param string $domainname * optional, the domainname - * + * @param int $customerid + * required when called as admin, not needed when called as customer + * * @access admin, customer * @throws \Exception * @return string json-encoded array