mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Fix wrong session expire set for custom duration
This commit is contained in:
parent
f94134f556
commit
ef0701a97a
4 changed files with 11 additions and 50 deletions
|
@ -52,7 +52,7 @@ class MemcachedCacheDriver extends BaseObject implements ICacheDriver
|
|||
return $this->memcached->set(
|
||||
self::getApp()->get_hostname() . ":" . $key,
|
||||
$value,
|
||||
Cache::duration($duration)
|
||||
time() + $duration
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue