Skip to content

Commit

Permalink
Fix error when importing collections
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Apr 12, 2024
1 parent 749afcd commit f569739
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Entries/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f569739

Please sign in to comment.