mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
Add Temporal::utcNow()
This commit is contained in:
parent
38ff1b455b
commit
8aff8a76eb
51 changed files with 191 additions and 180 deletions
|
@ -20,7 +20,7 @@ class Queue
|
|||
public static function updateTime($id)
|
||||
{
|
||||
logger('queue: requeue item ' . $id);
|
||||
dba::update('queue', ['last' => Temporal::convert()], ['id' => $id]);
|
||||
dba::update('queue', ['last' => Temporal::utcNow()], ['id' => $id]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -95,6 +95,6 @@ class Queue
|
|||
}
|
||||
}
|
||||
|
||||
dba::insert('queue', ['cid' => $cid, 'network' => $network, 'created' => Temporal::convert(), 'last' => Temporal::convert(), 'content' => $msg, 'batch' =>($batch) ? 1 : 0]);
|
||||
dba::insert('queue', ['cid' => $cid, 'network' => $network, 'created' => Temporal::utcNow(), 'last' => Temporal::utcNow(), 'content' => $msg, 'batch' =>($batch) ? 1 : 0]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue