mirror of
https://github.com/friendica/friendica
synced 2025-04-26 22:30:18 +00:00
Some more notices (#5424)
This commit is contained in:
parent
4f2ae88684
commit
7382be2766
6 changed files with 28 additions and 12 deletions
|
@ -1189,7 +1189,7 @@ class DFRN
|
|||
|
||||
$ret = Network::curl($url);
|
||||
|
||||
if ($ret['errno'] == CURLE_OPERATION_TIMEDOUT) {
|
||||
if (!empty($ret["errno"]) && ($ret['errno'] == CURLE_OPERATION_TIMEDOUT)) {
|
||||
Contact::markForArchival($contact);
|
||||
return -2; // timed out
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue