*/
function gs_search_user($search) {
+ // Currently disabled, since the service isn't available anymore.
+ // It is not removed since I hope that there will be a successor.
+ return false;
+
$a = get_app();
$url = "http://gstools.org/api/users_search/".urlencode($search);
poco_check_server("https://".$server->host);
}
- // Discover GNU Social Servers
- if (!get_config('system','ostatus_disabled')) {
- $serverdata = "http://gstools.org/api/get_open_instances/";
-
- $result = z_fetch_url($serverdata);
- if ($result["success"]) {
- $servers = json_decode($result["body"]);
-
- foreach($servers->data AS $server)
- poco_check_server($server->instance_address);
- }
- }
+ // Currently disabled, since the service isn't available anymore.
+ // It is not removed since I hope that there will be a successor.
+ // Discover GNU Social Servers.
+ //if (!get_config('system','ostatus_disabled')) {
+ // $serverdata = "http://gstools.org/api/get_open_instances/";
+
+ // $result = z_fetch_url($serverdata);
+ // if ($result["success"]) {
+ // $servers = json_decode($result["body"]);
+
+ // foreach($servers->data AS $server)
+ // poco_check_server($server->instance_address);
+ // }
+ //}
set_config('poco','last_federation_discovery', time());
}