diff options
author | Andrew Dolgov <[email protected]> | 2019-12-20 18:05:55 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-12-20 18:05:55 +0300 |
commit | 4b44103b849912714e2f044b62d158c8188f3a81 (patch) | |
tree | 2e7bf0ef01a34f4c89ddcf8db052a813ec57c55a /classes/handler/public.php | |
parent | 573784c316c44280fef319117720479c3dc052ed (diff) | |
parent | 63ee91c82e3fa17f5ade147aff8d319104b9e52e (diff) |
Merge branch 'master' of git.fakecake.org:tt-rss into weblate-integration
Diffstat (limited to 'classes/handler/public.php')
-rwxr-xr-x | classes/handler/public.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php index b81fb03b8..67c188142 100755 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -85,7 +85,7 @@ class Handler_Public extends Handler { $tpl->readTemplateFromFile("templates/generated_feed.txt"); $tpl->setVariable('FEED_TITLE', $feed_title, true); - $tpl->setVariable('VERSION', VERSION, true); + $tpl->setVariable('VERSION', get_version(), true); $tpl->setVariable('FEED_URL', htmlspecialchars($feed_self_url), true); $tpl->setVariable('SELF_URL', htmlspecialchars(get_self_url_prefix()), true); @@ -180,7 +180,6 @@ class Handler_Public extends Handler { $feed = array(); $feed['title'] = $feed_title; - $feed['version'] = VERSION; $feed['feed_url'] = $feed_self_url; $feed['self_url'] = get_self_url_prefix(); |