mirror of
https://github.com/friendica/friendica
synced 2025-04-26 01:50:11 +00:00
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
|
@ -1047,7 +1047,7 @@ class Profile
|
|||
|
||||
$addr = $_GET['addr'] ?? $my_url;
|
||||
|
||||
$arr = ['zrl' => $my_url, 'url' => $a->cmd];
|
||||
$arr = ['zrl' => $my_url, 'url' => DI::args()->getCommand()];
|
||||
Hook::callAll('zrl_init', $arr);
|
||||
|
||||
// Try to find the public contact entry of the visitor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue