summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-08-20 12:31:10 +0400
committerAndrew Dolgov <[email protected]>2014-08-20 12:31:10 +0400
commit8ef0ca2fa66ba9110d410dc85c6ed84c85d58cc9 (patch)
treec99e4c023a4c09af56ee4dbf4f9657622980c612 /include/functions.php
parentae962a96fdba3fcc14b60d48f0db48bb7f3b243e (diff)
remove unused format_libxml_error
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/functions.php b/include/functions.php
index ac8fb6302..764dea10e 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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 {