From f5697392450c8f72eb592837186e83d7e9c91f77 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Fri, 12 Apr 2024 10:49:54 +0100 Subject: [PATCH] Fix error when importing collections --- src/Entries/Entry.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Entries/Entry.php b/src/Entries/Entry.php index 215da514..2ebc07bd 100644 --- a/src/Entries/Entry.php +++ b/src/Entries/Entry.php @@ -151,8 +151,6 @@ public function origin($origin = null) return $this; } - $class = app('statamic.eloquent.entries.model'); - if ($this->origin) { if (! $this->origin instanceof EntryContract) { $this->origin = EntryFacade::find($this->origin);