Skip to content

Commit a3744a1

Browse files
AC-12682: Detach image cache generation from encryption key
1 parent d11f147 commit a3744a1

File tree

1 file changed

+0
-4
lines changed
  • app/code/Magento/Catalog/Model/View/Asset

1 file changed

+0
-4
lines changed

app/code/Magento/Catalog/Model/View/Asset/Image.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,6 @@ private function getImageInfo()
299299
// even if an encryption key was changed.
300300
$keys = explode("\n", $this->encryptor->exportKeys());
301301

302-
if (count($keys) === 1) {
303-
return $this->generatePath($data, $this->decodeKey($keys[0]));
304-
}
305-
306302
foreach ($keys as $key) {
307303
$key = $this->decodeKey($key);
308304

0 commit comments

Comments
 (0)