mirror of
https://github.com/friendica/friendica
synced 2025-01-26 00:20:03 +00:00
Make it simpler
This commit is contained in:
parent
d76003797a
commit
6733b77b73
1 changed files with 2 additions and 2 deletions
|
@ -734,7 +734,7 @@ class PortableContact
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
|
if (isset($nodeinfo['metadata']['nodeName'])) {
|
||||||
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
|
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -817,7 +817,7 @@ class PortableContact
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($nodeinfo['metadata']) && isset($nodeinfo['metadata']['nodeName'])) {
|
if (isset($nodeinfo['metadata']['nodeName'])) {
|
||||||
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
|
$server['site_name'] = $nodeinfo['metadata']['nodeName'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue