fix update of domain as admin if domain is a std-subdomain; fix update of mysql-entry; add CustomerBackups-ApiCommand

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2018-03-19 10:45:12 +01:00
parent dfcb7160cb
commit 715e5f7a64
4 changed files with 159 additions and 63 deletions

View File

@@ -626,8 +626,7 @@ class Domains extends ApiCommand implements ResourceEntity
// get requested domain
$result = $this->apiCall('Domains.get', array(
'id' => $id,
'domainname' => $domainname,
'no_std_subdomain' => true
'domainname' => $domainname
));
$id = $result['id'];