function action_delete($_) { $domoticz = new DomoticzCmd(); $domoticz->delete(array('idx' => $_['idx'])); header('location:setting.php?section=' . $this->section . '&block=cmd'); }