From 4d87b49f0736d54fcf085212a82a56ac93fd0a85 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 1 Feb 2022 17:22:56 -0500 Subject: [PATCH] Remove weird cutnpaste User modules stuff from top of Filter.pm --- scripts/ZoneMinder/lib/ZoneMinder/Filter.pm | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm index 726685a7e..6e6dcf9a8 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Filter.pm @@ -31,26 +31,16 @@ use warnings; require ZoneMinder::Base; require Date::Manip; require POSIX; - -use parent qw(ZoneMinder::Object); - -use vars qw/ $table $primary_key /; -$table = 'Filters'; -$primary_key = 'Id'; -# ========================================================================== -# -# General Utility Functions -# -# ========================================================================== - use ZoneMinder::Config qw(:all); use ZoneMinder::Logger qw(:all); use ZoneMinder::Database qw(:all); require ZoneMinder::Storage; require ZoneMinder::Server; +use parent qw(ZoneMinder::Object); + use vars qw/ $table $primary_key %fields /; -$table = 'Users'; +$table = 'Filters'; $primary_key = 'Id'; %fields = map { $_ => $_ } qw(