diff --git a/Mapping/Proxy/ProxyLoader.php b/Mapping/Proxy/ProxyLoader.php index d8086f86..d110acf2 100644 --- a/Mapping/Proxy/ProxyLoader.php +++ b/Mapping/Proxy/ProxyLoader.php @@ -58,10 +58,6 @@ public function load(\ReflectionClass $reflectionClass) { $cacheBundleDir = $this->getCacheDir($reflectionClass->getName()); - if (!$this->getFilesystem()->exists($cacheBundleDir)) { - $this->getFilesystem()->mkdir($cacheBundleDir, 0700); - } - $cache = new ConfigCache( $cacheBundleDir . DIRECTORY_SEPARATOR . md5(strtolower($reflectionClass->getShortName())) . '.php', $this->debug