Remove support for old single zmfilter process mode which won't work anyways as it only happens when there are no Background Filters

pull/3825/merge
Isaac Connor 2024-11-22 10:05:12 -05:00
parent 566ce16230
commit bebd5d1b0e
1 changed files with 2 additions and 6 deletions

View File

@ -241,12 +241,8 @@ if ( $command =~ /^(?:start|restart)$/ ) {
} # end foreach monitor
my @filters = ZoneMinder::Filter->find(Background=>1);
if (@filters) {
foreach my $filter (@filters) {
runCommand("zmdc.pl start zmfilter.pl --filter_id=$$filter{Id} --daemon");
}
} else {
runCommand('zmdc.pl start zmfilter.pl');
foreach my $filter (@filters) {
runCommand("zmdc.pl start zmfilter.pl --filter_id=$$filter{Id} --daemon");
}
if ( $Config{ZM_RUN_AUDIT} ) {