use common time

This commit is contained in:
ghost 2024-02-19 22:55:50 +02:00
parent 7cdd8c8059
commit 8042fa9d8e

View File

@ -687,7 +687,7 @@ class RoomController extends AbstractController
$pool->setKey( $pool->setKey(
sprintf( sprintf(
'%d@%s', '%d@%s',
time(), $time,
$username $username
), ),
); );
@ -705,7 +705,7 @@ class RoomController extends AbstractController
// Register event time // Register event time
$memcached->set( $memcached->set(
$memory, $memory,
time(), $time,
(int) $this->getParameter('app.add.post.remote.ip.delay') // auto remove on cache expire (int) $this->getParameter('app.add.post.remote.ip.delay') // auto remove on cache expire
); );