8000 [HttpKernel] Fix call to Memcached::set() in MemcachedProfilerStorage · symfony/symfony@57968f8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 57968f8

Browse files
committed
[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
1 parent 4a0057f commit 57968f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Profiler/MemcachedProfilerStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function getValue($key)
6767
*/
6868
protected function setValue($key, $value, $expiration = 0)
6969
{
70-
return $this->getMemcached()->set($key, $value, false, $expiration);
70+
return $this->getMemcached()->set($key, $value, $expiration);
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)
0