diff --git a/src/BeSimple/SoapBundle/Cache.php b/src/BeSimple/SoapBundle/Cache.php index e1c6cf0..fe5621f 100644 --- a/src/BeSimple/SoapBundle/Cache.php +++ b/src/BeSimple/SoapBundle/Cache.php @@ -25,17 +25,15 @@ class Cache BaseCache::setEnabled($isEnabled); - if (BaseCache::ENABLED == BaseCache::isEnabled()) { - BaseCache::setType($type); - BaseCache::setDirectory($directory); + BaseCache::setType($type); + BaseCache::setDirectory($directory); - if (null !== $lifetime) { - BaseCache::setLifetime($lifetime); - } + if (null !== $lifetime) { + BaseCache::setLifetime($lifetime); + } - if (null !== $limit) { - BaseCache::setLimit($limit); - } + if (null !== $limit) { + BaseCache::setLimit($limit); } } -} \ No newline at end of file +}