Remove deprecated App::cmd - replace with DI::args()->getCommand()
This commit is contained in:
@@ -453,7 +453,7 @@ class Post
|
||||
'received' => $item['received'],
|
||||
'commented' => $item['commented'],
|
||||
'created_date' => $item['created'],
|
||||
'return' => ($a->cmd) ? bin2hex($a->cmd) : '',
|
||||
'return' => (DI::args()->getCommand()) ? bin2hex(DI::args()->getCommand()) : '',
|
||||
'delivery' => [
|
||||
'queue_count' => $item['delivery_queue_count'],
|
||||
'queue_done' => $item['delivery_queue_done'] + $item['delivery_queue_failed'], /// @todo Possibly display it separately in the future
|
||||
|
||||
Reference in New Issue
Block a user