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

This commit is contained in:
Philipp Holzer 2019-12-16 01:33:13 +01:00
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

@ -41,7 +41,7 @@ function suggest_content(App $a)
return;
}
$_SESSION['return_path'] = $a->cmd;
$_SESSION['return_path'] = DI::args()->getCommand();
$a->page['aside'] .= Widget::findPeople();
$a->page['aside'] .= Widget::follow();