Improved reachable check

pull/322/head
Michael Vogel 2015-11-03 01:10:07 +01:00
parent f48b4ae535
commit ba560c191b
1 changed files with 1 additions and 2 deletions

View File

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