X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fdiscover_poco.php;h=bf3e47edd9a514acde02b4dcb5cdcb8d00a676be;hb=80ec0398d877810ddfb8c76f2f258fdaa962ec9e;hp=0b468faea189e522505ed5c686facd22be905406;hpb=2e9d233367068fceac8005126d14a2002539c772;p=friendica.git diff --git a/include/discover_poco.php b/include/discover_poco.php index 0b468faea1..bf3e47edd9 100644 --- a/include/discover_poco.php +++ b/include/discover_poco.php @@ -26,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")) {