get rid of more functions

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-20 12:38:18 +01:00
parent f263175802
commit 5888927239
53 changed files with 639 additions and 858 deletions

View File

@@ -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);