From 11b206e281787a63becf6ac66b8a8dbddf5bcf1c Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 1 Feb 2016 12:52:14 -0500 Subject: [PATCH] fix getPath -> Path --- scripts/ZoneMinder/lib/ZoneMinder/Event.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index 038246d09..807edce79 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -104,7 +104,7 @@ sub getEventPath if ( $Config{ZM_USE_DEEP_STORAGE} ) { $event_path = join('/', - $Storage->getPath(), + $Storage->Path(), $event->{MonitorId}, strftime( "%y/%m/%d/%H/%M/%S", localtime($event->{Time}) @@ -114,7 +114,7 @@ sub getEventPath else { $event_path = join('/', - $Storage->getPath(), + $Storage->Path(), $event->{MonitorId}, $event->{Id}, );