]> git.mxchange.org Git - friendica.git/blobdiff - include/discover_poco.php
Merge pull request #3044 from rabuzarus/20161224_-_update_perfect_scrollbar
[friendica.git] / include / discover_poco.php
index 0b468faea189e522505ed5c686facd22be905406..bf3e47edd9a514acde02b4dcb5cdcb8d00a676be 100644 (file)
@@ -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")) {