Corrected device references in controlDaemons.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@48 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
3d5ea88b06
commit
27cb6208fd
|
@ -1668,19 +1668,19 @@ function controlDaemons( $device )
|
||||||
|
|
||||||
if ( !$passive_count && !$active_count )
|
if ( !$passive_count && !$active_count )
|
||||||
{
|
{
|
||||||
stopDaemon( "zmc", $monitor[Device] );
|
stopDaemon( "zmc", $device );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
startDaemon( "zmc", $monitor[Device] );
|
startDaemon( "zmc", $device );
|
||||||
}
|
}
|
||||||
if ( !$active_count )
|
if ( !$active_count )
|
||||||
{
|
{
|
||||||
stopDaemon( "zma", $monitor[Device] );
|
stopDaemon( "zma", $device );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
startDaemon( "zma", $monitor[Device] );
|
startDaemon( "zma", $device );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function getEnumValues( $table, $column )
|
function getEnumValues( $table, $column )
|
||||||
|
|
Loading…
Reference in New Issue