2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

98_update.pm: update event patch (Forum #47976)

git-svn-id: https://svn.fhem.de/fhem/trunk@10617 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-01-25 07:40:33 +00:00
parent f06e932314
commit 5f3493e7fd

View File

@ -218,11 +218,13 @@ doUpdateLoop($$)
doUpdate(++$curr, $max, $srcLine, $arg); doUpdate(++$curr, $max, $srcLine, $arg);
HttpUtils_Close(\%upd_connecthash); HttpUtils_Close(\%upd_connecthash);
} }
if($updateInBackground) { if($upd_nChanged) {
BlockingInformParent("DoTrigger", ["global", "UPDATE", 0 ], 0) if($updateInBackground) {
} else { BlockingInformParent("DoTrigger", ["global", "UPDATE", 0 ], 0)
DoTrigger("global","UPDATE", 0); } else {
DoTrigger("global","UPDATE", 0);
}
} }
} }