mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Remove get_app() in favor of DI::app()
This commit is contained in:
parent
5d20cd7e16
commit
f0eea6f875
26 changed files with 110 additions and 97 deletions
|
@ -2220,7 +2220,7 @@ class Contact
|
|||
{
|
||||
$result = ['cid' => -1, 'success' => false, 'message' => ''];
|
||||
|
||||
$a = \get_app();
|
||||
$a = DI::app();
|
||||
|
||||
// remove ajax junk, e.g. Twitter
|
||||
$url = str_replace('/#!/', '/', $url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue