]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions2.php
remove unused format_libxml_error
[tt-rss.git] / include / functions2.php
index 555aa04e9623dc20e3af5c166fbcd7806a91cfd4..69f447e8c50bf75a11d74a13c411db3b996a24b0 100644 (file)
 
                if($status['http_code']!=200){
 
-                       // idiot site not allowing http get
+                       // idiot site not allowing http head
                        if($status['http_code'] == 405) {
                                curl_close($curl);
                                return geturl($url, $depth +1, false);
                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);
-       }
 ?>