Change the core to use newById instead of new.
This commit is contained in:
parent
04ee8f0949
commit
0bef2b2839
4 changed files with 4 additions and 4 deletions
|
|
@ -164,7 +164,7 @@ exhausted the recurrence, false otherwise.
|
|||
sub processRecurrence {
|
||||
my ( $self, $recurId, $timeLimit ) = @_;
|
||||
my $eventId = $self->findLastEventId($recurId);
|
||||
my $event = WebGUI::Asset::Event->new( $self->session, $eventId );
|
||||
my $event = WebGUI::Asset::Event->newById( $self->session, $eventId );
|
||||
my $recur = $event->getRecurrence;
|
||||
|
||||
my $start = $event->getDateTimeStart->truncate(to => 'day');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue