Remove deprecated App::cmd - replace with DI::args()->getCommand()
This commit is contained in:
parent
e6f61c2cc7
commit
33674808dc
16 changed files with 23 additions and 25 deletions
|
|
@ -45,7 +45,7 @@ function api_post(App $a)
|
|||
|
||||
function api_content(App $a)
|
||||
{
|
||||
if ($a->cmd == 'api/oauth/authorize') {
|
||||
if (DI::args()->getCommand() == 'api/oauth/authorize') {
|
||||
/*
|
||||
* api/oauth/authorize interact with the user. return a standard page
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue