Skip to content

Commit

Permalink
[HttpKernel] Fix call to Memcached::set() in MemcachedProfilerStorage
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jmikola committed Feb 15, 2012
1 parent 4a0057f commit 57968f8
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -67,7 +67,7 @@ protected function getValue($key)
*/
protected function setValue($key, $value, $expiration = 0)
{
return $this->getMemcached()->set($key, $value, false, $expiration);
return $this->getMemcached()->set($key, $value, $expiration);
}

/**
Expand Down

0 comments on commit 57968f8

Please sign in to comment.