mirror of
https://github.com/kevachat/webapp.git
synced 2025-01-10 23:08:14 +00:00
use common time
This commit is contained in:
parent
7cdd8c8059
commit
8042fa9d8e
@ -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
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user