]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
Added type hints
[friendica.git] / src / Module / Contact.php
index 85afc149b6e90b96ff96dc23a273d0d3b817c0ab..769bb82b3160f071bba899514e142c9217c39ec3 100644 (file)
@@ -14,7 +14,6 @@ use Friendica\Core\Hook;
 use Friendica\Core\L10n;
 use Friendica\Core\Protocol;
 use Friendica\Core\Renderer;
-use Friendica\Core\System;
 use Friendica\Core\Worker;
 use Friendica\Database\DBA;
 use Friendica\DI;
@@ -970,7 +969,7 @@ class Contact extends BaseModule
                        $profiledata = Model\Contact::getDetailsByURL($contact['url']);
 
                        if (local_user() && in_array($profiledata['network'], Protocol::FEDERATED)) {
-                               $profiledata['remoteconnect'] = System::baseUrl() . '/follow?url=' . urlencode($profiledata['url']);
+                               $profiledata['remoteconnect'] = DI::baseUrl() . '/follow?url=' . urlencode($profiledata['url']);
                        }
 
                        Model\Profile::load($a, '', 0, $profiledata, true);