Remove deprecated App::cmd - replace with DI::args()->getCommand()

This commit is contained in:
nupplaPhil 2019-12-16 01:33:13 +01:00
parent e6f61c2cc7
commit 33674808dc
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
16 changed files with 23 additions and 25 deletions

View file

@ -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