]> git.mxchange.org Git - friendica.git/blobdiff - include/discover_poco.php
Misc changes to url_from_contact_guid
[friendica.git] / include / discover_poco.php
index 9c9be8209cadf1d47605f67b3c83b467bb802ff3..bf3e47edd9a514acde02b4dcb5cdcb8d00a676be 100644 (file)
@@ -18,8 +18,6 @@ function discover_poco_run(&$argv, &$argc){
        unset($db_host, $db_user, $db_pass, $db_data);
        };
 
-       $a->start_process();
-
        require_once('include/session.php');
        require_once('include/datetime.php');
 
@@ -28,7 +26,7 @@ function discover_poco_run(&$argv, &$argc){
 
        // 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")) {