File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414}
1515
1616$ motion_timeout = $ this ->getProperty ('timeout ' ); // seconds timeout
17- if (! $ motion_timeout == "" ) {
17+ if ($ motion_timeout == "" ) {
1818 $ motion_timeout = 20 ; // timeout by default
1919}
2020if ($ motion_timeout ) {
3737 $ nobodyhome_timeout = SETTINGS_BEHAVIOR_NOBODYHOME_TIMEOUT * 60 ;
3838}
3939
40- $ resetNobodysHome= $ this ->getProperty ('resetNobodysHome ' );
40+ $ resetNobodysHome = $ this ->getProperty ('resetNobodysHome ' );
4141if ($ nobodyhome_timeout && !$ resetNobodysHome ) {
4242 setTimeOut ('nobodyHome ' , "callMethodSafe('NobodyHomeMode.activate'); " , $ nobodyhome_timeout );
4343} elseif ($ resetNobodysHome ) {
4444 clearTimeout ('nobodyHome ' );
4545}
4646
47- $ is_blocked= (int )$ this ->getProperty ('blocked ' );
47+ $ is_blocked = (int )$ this ->getProperty ('blocked ' );
4848if ($ is_blocked ) {
4949 return ;
5050}
You can’t perform that action at this time.
0 commit comments