Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b384bb

Browse files
committed
merged branch jmikola/memcached-profiler (PR #3358)
Commits ------- 57968f8 [HttpKernel] Fix call to Memcached::set() in MemcachedProfilerStorage Discussion ---------- [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 ---- I assume Travis-CI didn't catch the MemcachedProfilerStorageTest failures because those tests are skipped: http://travis-ci.org/#!/symfony/symfony/jobs/678889/L104
2 parents 4a0057f + 57968f8 commit 2b384bb

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)