add testing for mysql-server/customer-update of allowed_mysqlserver; beautify config-command/file details

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-29 16:53:01 +02:00
parent bff499caed
commit 449897039c
12 changed files with 84 additions and 9 deletions

View File

@@ -479,7 +479,7 @@ abstract class ApiCommand extends ApiParameter
{
$customer_ids = [];
if ($this->isAdmin()) {
// if we're an admin, list all ftp-users of all the admins customers
// if we're an admin, list all of the admins customers
// or optionally for one specific customer identified by id or loginname
$customerid = $this->getParam('customerid', true, 0);
$loginname = $this->getParam('loginname', true, '');