<?php
+use \Friendica\Core\Config;
+
require_once("boot.php");
require_once("include/socgraph.php");
-
function discover_poco_run(&$argv, &$argc){
global $a, $db;
require_once('include/session.php');
require_once('include/datetime.php');
- load_config('config');
- load_config('system');
+ Config::load();
// Don't check this stuff if the function is called by the poller
if (App::callstack() != "poller_run")
- if (App::maxload_reached())
+ if ($a->maxload_reached())
return;
if(($argc > 2) && ($argv[1] == "dirsearch")) {
*/
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);