]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
hotkey actions: toggle_expand, collapse_article: check if element exists
[tt-rss.git] / include / functions2.php
index deeaaf2109f5c93479e2d61f4042a60c451189d5..672373e6dddf4fe2b36701c25638ebf8764d3277 100644 (file)
                        curl_setopt($curl, CURLOPT_PROXY, _CURL_HTTP_PROXY);
                }
 
-               if ((OPENSSL_VERSION_NUMBER >= 0x0090808f) && (OPENSSL_VERSION_NUMBER < 0x10000000)) {
-                       curl_setopt($curl, CURLOPT_SSLVERSION, 3);
-               }
-
                $html = curl_exec($curl);
 
                $status = curl_getinfo($curl);
                return LABEL_BASE_INDEX - 1 + abs($feed);
        }
 
-       function format_libxml_error($error) {
-               return T_sprintf("LibXML error %s at line %d (column %d): %s",
-                               $error->code, $error->line, $error->column,
-                               $error->message);
-       }
 ?>