Skip to content

Commit

Permalink
Merge pull request #2469 from dpfaffenbauer/issues/cache
Browse files Browse the repository at this point in the history
[Cache] don't overwrite the prepareCacheData
  • Loading branch information
dpfaffenbauer authored Dec 12, 2023
2 parents 572537b + 062d8b5 commit bd2e3be
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,4 @@ public function load($key): mixed

return $data;
}

protected function prepareCacheData($data): mixed
{
/**
* It is useless to prepare the data for cache here
* since the Pimcore CoreCacheHandler on line 502 loads
* the data-object completely fresh, so we still have to use
* DeepCopy approach
*/
return $data;
}
}

0 comments on commit bd2e3be

Please sign in to comment.