From 2fc4d981d1c31a2b3d7bf1120d7f585064ad17ac Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Fri, 2 Aug 2013 14:04:00 +0400
Subject: [PATCH] remove unused old-style image rewritign

---
 include/rssfuncs.php | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 756ecbfc1..c0d81c351 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -1132,16 +1132,15 @@
 					}
 				}
 
-				if (file_exists($local_filename)) {
+				/* if (file_exists($local_filename)) {
 					$entry->setAttribute('src', SELF_URL_PATH . '/image.php?url=' .
 						base64_encode($src));
-				}
+				} */
 			}
 		}
 
-		$node = $doc->getElementsByTagName('body')->item(0);
-
-		return $doc->saveXML($node);
+		//$node = $doc->getElementsByTagName('body')->item(0);
+		//return $doc->saveXML($node);
 	}
 
 	function expire_error_log($debug) {