Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Restart cycle when save options
  • Loading branch information
Shagrat2 committed Mar 29, 2017
1 parent ccd7367 commit 4abde22
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/mysensor/mysensor.class.php
Expand Up @@ -262,7 +262,10 @@ function admin(&$out) {
$this->config['MS_MEASURE'] = $ms_measure;
$this->config['MS_AUTOID'] = $ms_autoid;
$this->config['MS_NEXTID'] = $ms_nextid;
$this->saveConfig ();
$this->saveConfig ();

setGlobal('cycle_mysensorControl', 'restart');

$this->redirect( "?" );
}

Expand Down

0 comments on commit 4abde22

Please sign in to comment.