mirror of
https://github.com/friendica/friendica
synced 2025-04-26 16:30:12 +00:00
Add Temporal::utc() shorthand to Temporal::convert()
This commit is contained in:
parent
ca8209a2ce
commit
35d06bd9eb
22 changed files with 173 additions and 128 deletions
|
@ -953,7 +953,7 @@ class Worker
|
|||
|
||||
/// @todo We should clean up the corresponding workerqueue entries as well
|
||||
$condition = ["`created` < ? AND `command` = 'worker.php'",
|
||||
Temporal::convert("now - ".$timeout." minutes")];
|
||||
Temporal::utc("now - ".$timeout." minutes")];
|
||||
dba::delete('process', $condition);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue