FB_CALLLIST: removed unneccessary if-statement
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8772 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -137,7 +137,7 @@ sub FB_CALLLIST_Attr($@)
|
|||||||
if($init_done)
|
if($init_done)
|
||||||
{
|
{
|
||||||
# delete all outdated calls according to attribute list-type, internal-number-filter and number-of-calls
|
# delete all outdated calls according to attribute list-type, internal-number-filter and number-of-calls
|
||||||
FB_CALLLIST_cleanupList($hash) if($init_done);
|
FB_CALLLIST_cleanupList($hash);
|
||||||
|
|
||||||
# Inform all FHEMWEB clients
|
# Inform all FHEMWEB clients
|
||||||
FB_CALLLIST_updateFhemWebClients($hash);
|
FB_CALLLIST_updateFhemWebClients($hash);
|
||||||
@@ -176,7 +176,7 @@ sub FB_CALLLIST_Attr($@)
|
|||||||
if($init_done)
|
if($init_done)
|
||||||
{
|
{
|
||||||
# delete all outdated calls according to attribute list-type, internal-number-filter and number-of-calls
|
# delete all outdated calls according to attribute list-type, internal-number-filter and number-of-calls
|
||||||
FB_CALLLIST_cleanupList($hash) if($init_done);
|
FB_CALLLIST_cleanupList($hash);
|
||||||
|
|
||||||
# Inform all FHEMWEB clients
|
# Inform all FHEMWEB clients
|
||||||
FB_CALLLIST_updateFhemWebClients($hash);
|
FB_CALLLIST_updateFhemWebClients($hash);
|
||||||
|
|||||||
Reference in New Issue
Block a user