Skip to content

Commit

Permalink
not used anymore cuz there’s always a recurrence value (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
edalzell authored Dec 17, 2024
1 parent 6fe328b commit 89010be
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ private function bootFields(): self
{
$collectionHandle = config('events.collection', 'events');

Collection::computed($collectionHandle, 'recurrence', function ($entry, $value) {
if ($value) {
return $value;
}

return $entry->multi_day ? 'multi_day' : 'none';
});

Collection::computed($collectionHandle, 'timezone', function ($entry, $value) use ($collectionHandle) {
if ($value) {
return $value;
Expand Down

0 comments on commit 89010be

Please sign in to comment.