mirror of
https://github.com/friendica/friendica
synced 2025-04-29 19:44:22 +02:00
Remove obsolete function to guess the base url of a contact
This commit is contained in:
parent
a855c6888b
commit
21e9e9f3c2
3 changed files with 8 additions and 78 deletions
|
@ -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 != "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue