remove unused local variables
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -718,7 +718,6 @@ class SubDomains extends ApiCommand implements ResourceEntity
|
||||
|
||||
// get needed customer info to reduce the subdomain-usage-counter by one
|
||||
$customer = $this->getCustomerData();
|
||||
$subdomains_used = $customer['subdomains_used'];
|
||||
|
||||
if (!$this->isAdmin() && $result['caneditdomain'] == 0) {
|
||||
throw new Exception("You cannot edit this resource", 405);
|
||||
|
||||
Reference in New Issue
Block a user