mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #6674 from oilee80/master
Fix for APCu cache otherwise you get 'Cache key must be string, "bool…
This commit is contained in:
commit
d01da57da1
@ -44,7 +44,7 @@ class DefaultCacheFactory implements CacheFactory
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function create($service, array $params = array())
|
||||
public function create($service, array $args = array())
|
||||
{
|
||||
$namespace = (isset($args['namespace'])) ? $args['namespace'] : '';
|
||||
$defaultLifetime = (isset($args['defaultLifetime'])) ? $args['defaultLifetime'] : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user