Remove weird cutnpaste User modules stuff from top of Filter.pm

This commit is contained in:
Isaac Connor 2022-02-01 17:22:56 -05:00
parent e69095a9b4
commit 4d87b49f07
1 changed files with 3 additions and 13 deletions

View File

@ -31,26 +31,16 @@ use warnings;
require ZoneMinder::Base; require ZoneMinder::Base;
require Date::Manip; require Date::Manip;
require POSIX; 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::Config qw(:all);
use ZoneMinder::Logger qw(:all); use ZoneMinder::Logger qw(:all);
use ZoneMinder::Database qw(:all); use ZoneMinder::Database qw(:all);
require ZoneMinder::Storage; require ZoneMinder::Storage;
require ZoneMinder::Server; require ZoneMinder::Server;
use parent qw(ZoneMinder::Object);
use vars qw/ $table $primary_key %fields /; use vars qw/ $table $primary_key %fields /;
$table = 'Users'; $table = 'Filters';
$primary_key = 'Id'; $primary_key = 'Id';
%fields = map { $_ => $_ } qw( %fields = map { $_ => $_ } qw(