Skip to content

Commit ee9212d

Browse files
committed
MAGETWO-36066: Move dev/shell/cache.php
- fixed Cache clean flushing whole cache backend
1 parent 6d08532 commit ee9212d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/Magento/Framework/App/Cache/Manager.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ public function setEnabled(array $types, $isEnabled)
8585
public function clean(array $types)
8686
{
8787
foreach ($types as $type) {
88-
$frontend = $this->pool->get($type);
89-
$frontend->clean();
88+
$this->cacheTypeList->cleanType($type);
9089
}
9190
}
9291

0 commit comments

Comments
 (0)