Review update
Rename function, move others
This commit is contained in:
parent
0f1be37279
commit
f04d40a37e
55 changed files with 331 additions and 326 deletions
|
|
@ -568,7 +568,7 @@ class GContact
|
|||
$done[] = System::baseUrl() . '/poco';
|
||||
|
||||
if (strlen(Config::get('system', 'directory'))) {
|
||||
$x = Network::fetchURL(get_server()."/pubsites");
|
||||
$x = Network::fetchUrl(get_server()."/pubsites");
|
||||
if ($x) {
|
||||
$j = json_decode($x);
|
||||
if ($j->entries) {
|
||||
|
|
@ -980,7 +980,7 @@ class GContact
|
|||
|
||||
$url = $server."/main/statistics";
|
||||
|
||||
$result = Network::zFetchURL($url);
|
||||
$result = Network::curl($url);
|
||||
if (!$result["success"]) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue