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
|
@ -86,7 +86,7 @@ function pubsub_post(App $a)
|
|||
{
|
||||
$xml = Network::postdata();
|
||||
|
||||
Logger::log('Feed arrived from ' . $_SERVER['REMOTE_ADDR'] . ' for ' . $a->cmd . ' with user-agent: ' . $_SERVER['HTTP_USER_AGENT']);
|
||||
Logger::log('Feed arrived from ' . $_SERVER['REMOTE_ADDR'] . ' for ' . DI::args()->getCommand() . ' with user-agent: ' . $_SERVER['HTTP_USER_AGENT']);
|
||||
Logger::log('Data: ' . $xml, Logger::DATA);
|
||||
|
||||
$nick = (($a->argc > 1) ? Strings::escapeTags(trim($a->argv[1])) : '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue