[HttpKernel] Fix call to Memcached::set() in MemcachedProfilerStorage
The existing code seems to have been copied from MemcacheProfilerStorage. Memcache::set() includes a $flag argument, but Memcached::set() omits that. See: * http://php.net/manual/en/memcached.set.php * http://php.net/manual/en/memcache.set.php
This commit is contained in:
parent
4a0057fd56
commit
57968f8fb1
@ -67,7 +67,7 @@ class MemcachedProfilerStorage extends BaseMemcacheProfilerStorage
|
|||||||
*/
|
*/
|
||||||
protected function setValue($key, $value, $expiration = 0)
|
protected function setValue($key, $value, $expiration = 0)
|
||||||
{
|
{
|
||||||
return $this->getMemcached()->set($key, $value, false, $expiration);
|
return $this->getMemcached()->set($key, $value, $expiration);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user