mirror of
https://github.com/friendica/friendica
synced 2024-12-23 13:20:21 +00:00
Shorter code, thanks to @annando pointing this out
This commit is contained in:
parent
65da5246ca
commit
e9af4b5bb9
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ class PostUpdate
|
|||
}
|
||||
|
||||
$max_item_delivery_data = DBA::selectFirst('item-delivery-data', ['iid'], ['queue_count > 0 OR queue_done > 0'], ['order' => ['iid']]);
|
||||
$max_iid = (is_array($max_item_delivery_data) && isset($max_item_delivery_data['iid']) ? $max_item_delivery_data['iid'] : 0);
|
||||
$max_iid = $max_item_delivery_data['iid'] ?? 0;
|
||||
|
||||
Logger::info('Start update1297 with max iid: ' . $max_iid);
|
||||
|
||||
|
|
Loading…
Reference in a new issue