Add missing Monitor() function.
This commit is contained in:
parent
bc07c38dc8
commit
9fec11c4a9
|
@ -915,6 +915,15 @@ sub canEdit {
|
|||
return 0;
|
||||
} # end sub canEdit
|
||||
|
||||
sub Monitor {
|
||||
my $self = shift;
|
||||
$$self{Monitor} = shift if @_;
|
||||
if ( !$$self{Monitor} ) {
|
||||
$$self{Monitor} = new ZoneMinder::Monitor($$self{MonitorId});
|
||||
}
|
||||
return $$self{Monitor};
|
||||
}
|
||||
|
||||
1;
|
||||
__END__
|
||||
|
||||
|
|
Loading…
Reference in New Issue