From ee9212d1d70020f3e143bfde6ebce662308200fb Mon Sep 17 00:00:00 2001
From: Eddie Lau <kahlau@ebay.com>
Date: Mon, 27 Apr 2015 19:16:47 -0500
Subject: [PATCH] MAGETWO-36066: Move dev/shell/cache.php

- fixed Cache clean flushing whole cache backend
---
 lib/internal/Magento/Framework/App/Cache/Manager.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/internal/Magento/Framework/App/Cache/Manager.php b/lib/internal/Magento/Framework/App/Cache/Manager.php
index fc49b8af25f..3936853833b 100644
--- a/lib/internal/Magento/Framework/App/Cache/Manager.php
+++ b/lib/internal/Magento/Framework/App/Cache/Manager.php
@@ -85,8 +85,7 @@ class Manager
     public function clean(array $types)
     {
         foreach ($types as $type) {
-            $frontend = $this->pool->get($type);
-            $frontend->clean();
+            $this->cacheTypeList->cleanType($type);
         }
     }
 
-- 
GitLab