Remove weird cutnpaste User modules stuff from top of Filter.pm
This commit is contained in:
parent
e69095a9b4
commit
4d87b49f07
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue