Review update

Rename function, move others
This commit is contained in:
Adam Magness
2018-01-27 11:13:41 -05:00
parent 0f1be37279
commit f04d40a37e
55 changed files with 331 additions and 326 deletions
+2 -2
View File
@@ -218,7 +218,7 @@ class DiscoverPoCo {
}
}
$x = Network::fetchURL(get_server()."/lsearch?p=1&n=500&search=".urlencode($search));
$x = Network::fetchUrl(get_server()."/lsearch?p=1&n=500&search=".urlencode($search));
$j = json_decode($x);
if (count($j->results)) {
@@ -281,7 +281,7 @@ class DiscoverPoCo {
$url = "http://gstools.org/api/users_search/".urlencode($search);
$result = Network::zFetchURL($url);
$result = Network::curl($url);
if (!$result["success"]) {
return false;
}