From 8ef0ca2fa66ba9110d410dc85c6ed84c85d58cc9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 20 Aug 2014 12:31:10 +0400 Subject: remove unused format_libxml_error --- include/functions.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include/functions.php') 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 { -- cgit v1.2.3-54-g00ecf