mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7415 from open-sausages/pulls/4.0/no-cache-in-my-home
Fix typos in FilesystemCacheFactory
This commit is contained in:
commit
17718e3854
@ -27,8 +27,8 @@ class FilesystemCacheFactory implements CacheFactory
|
||||
public function create($service, array $params = array())
|
||||
{
|
||||
return Injector::inst()->create(FilesystemCache::class, false, [
|
||||
(isset($args['namespace'])) ? $args['namespace'] : '',
|
||||
(isset($args['defaultLifetime'])) ? $args['defaultLifetime'] : 0,
|
||||
(isset($params['namespace'])) ? $params['namespace'] : '',
|
||||
(isset($params['defaultLifetime'])) ? $params['defaultLifetime'] : 0,
|
||||
$this->directory
|
||||
]);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user