Revert "Version 3.1.7"

This commit is contained in:
Mitan Omar
2024-10-20 12:18:35 +02:00
committed by GitHub
parent b34fbb14f7
commit ea57ef19a1
174 changed files with 6258 additions and 5881 deletions

View File

@@ -127,14 +127,13 @@ class FetchFile
if ($result === false)
{
$error = true;
kleeja_log(sprintf("cUrl error (#%d): %s\n", curl_errno($ch), htmlspecialchars(curl_error($ch))));
}
curl_close($ch);
fclose($out);
return isset($error) ? false : true;
return true;
}
else
{
@@ -142,13 +141,11 @@ class FetchFile
if ($data === false)
{
$error = true;
kleeja_log(sprintf("FetchFile error (curl: #%d): %s\n", curl_errno($ch), htmlspecialchars(curl_error($ch))));
}
curl_close($ch);
return isset($error) ? false : $data;
return $data;
}
}