Merge pull request #8019 from nupplaphil/task/replace_getClass

Introduce new way of static/dynamic bridge / CleanUp deprecated methods
This commit is contained in:
Hypolite Petovan
2019-12-29 17:47:28 -05:00
committed by GitHub
264 changed files with 1631 additions and 1854 deletions

View File

@@ -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);