mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-25 20:20:15 +00:00
Improved reachable check
This commit is contained in:
parent
f48b4ae535
commit
ba560c191b
1 changed files with 1 additions and 2 deletions
|
@ -1715,8 +1715,7 @@ function pumpio_fetchallcomments(&$a, $uid, $id) {
|
|||
|
||||
function pumpio_reachable($url) {
|
||||
$data = z_fetch_url($url, false, $redirects, array('timeout'=>10));
|
||||
|
||||
return($data['success']);
|
||||
return(intval($data['return_code']) != 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue