mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 11:16:36 +00:00
Added global SAVE trigger
git-svn-id: https://svn.fhem.de/fhem/trunk@2852 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1368ff239e
commit
81ce389469
@ -1031,6 +1031,8 @@ CommandSave($$)
|
|||||||
my ($cl, $param) = @_;
|
my ($cl, $param) = @_;
|
||||||
my $ret = "";
|
my $ret = "";
|
||||||
|
|
||||||
|
DoTrigger("global", "SAVE", 1);
|
||||||
|
|
||||||
WriteStatefile();
|
WriteStatefile();
|
||||||
|
|
||||||
$param = $attr{global}{configfile} if(!$param);
|
$param = $attr{global}{configfile} if(!$param);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user