Removed WCF version number from RSS feeds
authorMarcel Werk <burntime@woltlab.com>
Fri, 21 Feb 2014 19:38:51 +0000 (20:38 +0100)
committerMarcel Werk <burntime@woltlab.com>
Fri, 21 Feb 2014 19:38:51 +0000 (20:38 +0100)
com.woltlab.wcf/templates/rssFeed.tpl

index 1b5e44b1b47ece7bbc2df40caabf9e3afb62c795..62b92698ab3b8c9cd8b1b4cbb322225fcb2c978a 100644 (file)
@@ -14,7 +14,7 @@
 {assign var='dummy' value=$items->rewind()}
                <lastBuildDate>{if $items->valid()}{'r'|gmdate:$items->current()->getTime()}{else}{'r'|gmdate:TIME_NOW}{/if}</lastBuildDate>
                <ttl>60</ttl>
-               <generator><![CDATA[WoltLab Community Framework {@WCF_VERSION}]]></generator>
+               <generator><![CDATA[WoltLab Community Framework{if SHOW_VERSION_NUMBER} {@WCF_VERSION}{/if}]]></generator>
                <atom:link href="{$__wcf->getRequestURI()}" rel="self" type="application/rss+xml" />
 {*             *}{foreach from=$items item='item'}
                <item>