mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Merge pull request #8019 from nupplaphil/task/replace_getClass
Introduce new way of static/dynamic bridge / CleanUp deprecated methods
This commit is contained in:
commit
03038e7a3b
264 changed files with 1631 additions and 1854 deletions
|
@ -17,6 +17,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\Protocol;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Profile;
|
||||
use Friendica\Protocol\ActivityNamespace;
|
||||
|
@ -76,7 +77,7 @@ class Probe
|
|||
*/
|
||||
private static function ownHost($host)
|
||||
{
|
||||
$own_host = \get_app()->getHostName();
|
||||
$own_host = DI::baseUrl()->getHostname();
|
||||
|
||||
$parts = parse_url($host);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue