Readded the network parameter

This commit is contained in:
Michael 2019-10-04 05:42:54 +00:00
parent d9a74bd5dd
commit a7e518acbd
4 changed files with 13 additions and 11 deletions

View file

@ -187,7 +187,7 @@ class DiscoverPoCo
$server_url = $user["server_url"];
}
if ((($server_url == "") && ($user["network"] == Protocol::FEED)) || $force_update || GServer::check($server_url)) {
if ((($server_url == "") && ($user["network"] == Protocol::FEED)) || $force_update || GServer::check($server_url, $user["network"])) {
Logger::log('Check profile '.$user["url"]);
Worker::add(PRIORITY_LOW, "DiscoverPoCo", "check_profile", $user["url"]);