From 06bfad59a07e55e60bd6777e3d8a8a10b1031613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simonas=20=C5=A0erlinskas?= Date: Mon, 2 Mar 2015 15:35:09 +0200 Subject: [PATCH] use ConfigCache to create cache directories it is necessary to use same umask as it is originally set, lets leave to do that for ConfigCache --- Mapping/Proxy/ProxyLoader.php | 4 ---- 1 file changed, 4 deletions(-) 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