From d8d6ca5795ae5c20ffc5f0a6c45c50a8ee996b35 Mon Sep 17 00:00:00 2001 From: Andreas Schamberger Date: Sat, 24 Aug 2013 09:39:56 +0200 Subject: [PATCH] fix problem with cache path --- src/BeSimple/SoapClient/WsdlDownloader.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/BeSimple/SoapClient/WsdlDownloader.php b/src/BeSimple/SoapClient/WsdlDownloader.php index 6e403ce..97a7d67 100644 --- a/src/BeSimple/SoapClient/WsdlDownloader.php +++ b/src/BeSimple/SoapClient/WsdlDownloader.php @@ -74,11 +74,8 @@ class WsdlDownloader // get current WSDL caching config $this->cacheEnabled = $cacheWsdl === Cache::TYPE_NONE ? Cache::DISABLED : Cache::ENABLED == Cache::isEnabled(); - - if ($this->cacheEnabled) { - $this->cacheDir = Cache::getDirectory(); - $this->cacheTtl = Cache::getLifetime(); - } + $this->cacheDir = Cache::getDirectory(); + $this->cacheTtl = Cache::getLifetime(); } /**