The discovery should check all profiles.

pull/1791/head
Michael Vogel 2015-07-28 08:25:30 +02:00
rodzic 4b2c2c4802
commit ec161d798f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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"])));
}
//}
}
}