sforkowany z mirror/friendica
Fix: unknown variable
rodzic
fbe5de7c55
commit
6b8239f63f
|
@ -902,7 +902,7 @@ class GContact
|
||||||
$curlResult = Network::curl($data['poll']);
|
$curlResult = Network::curl($data['poll']);
|
||||||
if (!$curlResult->isSuccess()) {
|
if (!$curlResult->isSuccess()) {
|
||||||
$fields = ['last_failure' => DateTimeFormat::utcNow()];
|
$fields = ['last_failure' => DateTimeFormat::utcNow()];
|
||||||
DBA::update('gcontact', $fields, ['nurl' => Strings::normaliseLink($profile)]);
|
DBA::update('gcontact', $fields, ['nurl' => Strings::normaliseLink($data['url'])]);
|
||||||
|
|
||||||
Logger::info("Profile wasn't reachable (no feed)", ['url' => $data['url']]);
|
Logger::info("Profile wasn't reachable (no feed)", ['url' => $data['url']]);
|
||||||
return;
|
return;
|
||||||
|
|
Ładowanie…
Reference in New Issue