fix getPath -> Path

This commit is contained in:
Isaac Connor 2016-02-01 12:52:14 -05:00
parent ff46344175
commit 11b206e281
1 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ sub getEventPath
if ( $Config{ZM_USE_DEEP_STORAGE} ) if ( $Config{ZM_USE_DEEP_STORAGE} )
{ {
$event_path = join('/', $event_path = join('/',
$Storage->getPath(), $Storage->Path(),
$event->{MonitorId}, $event->{MonitorId},
strftime( "%y/%m/%d/%H/%M/%S", strftime( "%y/%m/%d/%H/%M/%S",
localtime($event->{Time}) localtime($event->{Time})
@ -114,7 +114,7 @@ sub getEventPath
else else
{ {
$event_path = join('/', $event_path = join('/',
$Storage->getPath(), $Storage->Path(),
$event->{MonitorId}, $event->{MonitorId},
$event->{Id}, $event->{Id},
); );