Remove obsolete function to guess the base url of a contact

This commit is contained in:
Michael 2019-10-02 15:10:42 +00:00
parent a855c6888b
commit 21e9e9f3c2
3 changed files with 8 additions and 78 deletions

View file

@ -222,7 +222,7 @@ class GContact
if (!isset($gcontact['server_url'])) {
// We check the server url to be sure that it is a real one
$server_url = PortableContact::detectServer($gcontact['url']);
$server_url = Contact::getBasepath($gcontact['url']);
// We are now sure that it is a correct URL. So we use it in the future
if ($server_url != "") {