X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FModel%2FProfile.php;h=bd455bc6ba4ca4898bf736b85c245d31d6fe5b05;hb=94eca7704130822bf83bb5fee6930dee6bae81dd;hp=887e35b72179a78e994affa7c577fc77eda6a79d;hpb=f274357ad6d221fd6ab867aeb0374469b342368d;p=friendica.git diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 887e35b721..bd455bc6ba 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -28,8 +28,6 @@ use Friendica\Util\Proxy as ProxyUtils; use Friendica\Util\Strings; use Friendica\Util\Temporal; -require_once 'include/dba.php'; - class Profile { /** @@ -297,9 +295,9 @@ class Profile $profile['picdate'] = urlencode(defaults($profile, 'picdate', '')); if (($profile['network'] != '') && ($profile['network'] != Protocol::DFRN)) { - $profile['network_name'] = Strings::formatNetworkName($profile['network'], $profile['url']); + $profile['network_link'] = Strings::formatNetworkName($profile['network'], $profile['url']); } else { - $profile['network_name'] = ''; + $profile['network_link'] = ''; } Addon::callHooks('profile_sidebar_enter', $profile);