Skip to content

Commit

Permalink
[5.x] Prevent cachedKeys and siteCache from being stored on sleep (#9842
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ryanmitchell authored Apr 8, 2024
1 parent f764023 commit db06d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entries/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -1035,6 +1035,6 @@ public function __sleep()
$this->slug = $slug($this);
}

return array_keys(Arr::except(get_object_vars($this), ['computedCallbackCache']));
return array_keys(Arr::except(get_object_vars($this), ['cachedKeys', 'computedCallbackCache', 'siteCache']));
}
}

0 comments on commit db06d90

Please sign in to comment.