mirror of
https://github.com/friendica/friendica
synced 2024-11-20 11:03:42 +00:00
Update socgraph.php
Two little style changes
This commit is contained in:
parent
a583bda5fc
commit
0f67d82d05
1 changed files with 4 additions and 4 deletions
|
@ -1159,7 +1159,7 @@ function poco_check_server($server_url, $network = "", $force = false) {
|
|||
}
|
||||
|
||||
if (!$failure) {
|
||||
// Test for Hubzilla, Redmatrix or Friendica
|
||||
// Test for Hubzilla and Red
|
||||
$serverret = z_fetch_url($server_url."/siteinfo.json");
|
||||
if ($serverret["success"]) {
|
||||
$data = json_decode($serverret["body"]);
|
||||
|
@ -1181,8 +1181,8 @@ function poco_check_server($server_url, $network = "", $force = false) {
|
|||
$register_policy = REGISTER_CLOSED;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
// Test for Hubzilla, Redmatrix or Friendica
|
||||
$serverret = z_fetch_url($server_url."/api/statusnet/config.json");
|
||||
if ($serverret["success"]) {
|
||||
$data = json_decode($serverret["body"]);
|
||||
|
|
Loading…
Reference in a new issue