From: <oh...@us...> - 2003-09-02 19:01:56
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs1:/tmp/cvs-serv16274/tiki Modified Files: tiki-blogs_rss.php Log Message: removed unused code Index: tiki-blogs_rss.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-blogs_rss.php,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- tiki-blogs_rss.php 2 Sep 2003 18:08:38 -0000 1.15 +++ tiki-blogs_rss.php 2 Sep 2003 19:01:53 -0000 1.16 @@ -113,11 +113,7 @@ } print (' <title>'.htmlspecialchars($chg["blogtitle"].': '.$tikilib -> date_format($tikilib -> get_short_datetime_format(), $chg["created"])).'</title>'."\n"); print (' <link>'.htmlspecialchars($read.$chg["blogId"]."&postId=".$chg["postId"]).'</link>'."\n"); - if (!empty($chg["comment"])) { - $comment = "(".htmlspecialchars($chg["data"]).")"; - } else { - $comment = ''; - } + if ($rss_version == 2) { $date = gmdate('D, d M Y H:i:s T', $chg["created"]); print ('<description>'.htmlspecialchars($chg["data"]).'</description>'."\n"); |