The discovery should check all profiles.
This commit is contained in:
parent
4b2c2c4802
commit
ec161d798f
|
@ -96,7 +96,7 @@ function discover_users() {
|
|||
$checked = 0;
|
||||
|
||||
foreach ($users AS $user) {
|
||||
if (poco_do_update($user["created"], $user["updated"], $user["last_failure"], $user["last_contact"])) {
|
||||
//if (poco_do_update($user["created"], $user["updated"], $user["last_failure"], $user["last_contact"])) {
|
||||
|
||||
if ($user[0]["server_url"] != "")
|
||||
$server_url = $user[0]["server_url"];
|
||||
|
@ -112,7 +112,7 @@ function discover_users() {
|
|||
} else
|
||||
q("UPDATE `gcontact` SET `last_failure` = '%s' WHERE `nurl` = '%s'",
|
||||
dbesc(datetime_convert()), dbesc(normalise_link($user["url"])));
|
||||
}
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user