8000 fix the updating of timestamp in the MemcachedSessionHandler · symfony/symfony@d007469 · GitHub
[go: up one dir, main page]

Skip to content

Commit d007469

Browse files
author
Alessandro Loffredo
committed
fix the updating of timestamp in the MemcachedSessionHandler
1 parent 07cccd5 commit d007469

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ protected function doRead($sessionId)
8080
*/
8181
public function updateTimestamp($sessionId, $data)
8282
{
83-
return $this->memcached->touch($this->prefix.$sessionId, time() + $this->ttl);
83+
$this->memcached->touch($this->prefix.$sessionId, time() + $this->ttl);
84+
85+
return true;
8486
}
8587

8688
/**

0 commit comments

Comments
 (0)
0