Added global SAVE trigger
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2852 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1031,6 +1031,8 @@ CommandSave($$)
|
||||
my ($cl, $param) = @_;
|
||||
my $ret = "";
|
||||
|
||||
DoTrigger("global", "SAVE", 1);
|
||||
|
||||
WriteStatefile();
|
||||
|
||||
$param = $attr{global}{configfile} if(!$param);
|
||||
|
||||
Reference in New Issue
Block a user