get rid of more functions
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -281,7 +281,7 @@ class DomainZones extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resour
|
||||
$dom_entries[] = $new_entry;
|
||||
|
||||
// re-generate bind configs
|
||||
inserttask('4');
|
||||
\Froxlor\System\Cronjob::inserttask('4');
|
||||
|
||||
$result = $this->apiCall('DomainZones.get', array(
|
||||
'id' => $id
|
||||
@@ -392,7 +392,7 @@ class DomainZones extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resour
|
||||
), true, true);
|
||||
if ($del_stmt->rowCount() > 0) {
|
||||
// re-generate bind configs
|
||||
inserttask('4');
|
||||
\Froxlor\System\Cronjob::inserttask('4');
|
||||
return $this->response(200, "successfull", true);
|
||||
}
|
||||
return $this->response(304, "successfull", true);
|
||||
|
||||
Reference in New Issue
Block a user