]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/PortableContact.php
Contact updates should now work more reliable
[friendica.git] / src / Protocol / PortableContact.php
index 8d51a89693a764697b8bdd3c78630144a0ef3759..5b419e42eff3d15deb989d8cc8cac66231f71eca 100644 (file)
@@ -23,7 +23,6 @@ use DOMXPath;
 use Exception;
 
 require_once 'include/dba.php';
-require_once 'include/datetime.php';
 require_once 'include/html2bbcode.php';
 
 class PortableContact
@@ -318,6 +317,7 @@ class PortableContact
                        $contact['created'] = DateTimeFormat::utcNow();
                }
 
+               $server_url = '';
                if ($force) {
                        $server_url = normalise_link(self::detectServer($profile));
                }