1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:05:55 +00:00

remove unused format_libxml_error

This commit is contained in:
Andrew Dolgov
2014-08-20 12:31:10 +04:00
parent ae962a96fd
commit 8ef0ca2fa6
2 changed files with 0 additions and 17 deletions

View File

@@ -1710,18 +1710,6 @@
$url = key($feedUrls);
}
/* libxml_use_internal_errors(true);
$doc = new DOMDocument();
$doc->loadXML($contents);
$error = libxml_get_last_error();
libxml_clear_errors();
if ($error) {
$error_message = format_libxml_error($error);
return array("code" => 6, "message" => $error_message);
} */
if ($cat_id == "0" || !$cat_id) {
$cat_qpart = "NULL";
} else {