summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-08 17:19:43 +0400
committerAndrew Dolgov <[email protected]>2013-02-08 17:19:43 +0400
commit750cfcd2fa5e2fe94eaee3de2492ba54797f1a64 (patch)
treeec6880a0c2a2dfb19d0e0f01759d86fc5f39cf6e /include/functions.php
parent8853f0ed5b2988ff1db5c387fb97b5cfd7595aae (diff)
remove processing of ttrss_feeds.icon_url
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 db9a7fd61..b64d1b373 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -2852,7 +2852,6 @@
$result = db_query($link, "SELECT id,title,link,content,feed_id,comments,int_id,
".SUBSTRING_FOR_DATE."(updated,1,16) as updated,
- (SELECT icon_url FROM ttrss_feeds WHERE id = feed_id) as icon_url,
(SELECT site_url FROM ttrss_feeds WHERE id = feed_id) as site_url,
num_comments,
tag_cache,
@@ -2867,12 +2866,6 @@
$line = db_fetch_assoc($result);
- if ($line["icon_url"]) {
- $feed_icon = "<img src=\"" . $line["icon_url"] . "\">";
- } else {
- $feed_icon = "&nbsp;";
- }
-
$feed_site_url = $line['site_url'];
$num_comments = $line["num_comments"];
@@ -3012,11 +3005,6 @@
}
$rv['content'] .= "</div>";
- $rv['content'] .= "<div class=\"postIcon\">" .
- "<a target=\"_blank\" title=\"".__("Visit the website")."\"$
- href=\"".htmlspecialchars($feed_site_url)."\">".
- $feed_icon . "</a></div>";
-
$rv['content'] .= "<div class=\"postContent\">";
// N-grams