mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fix typos in FilesystemCacheFactory
This commit is contained in:
parent
fe98555d0a
commit
26f7f0482c
@ -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