aboutsummaryrefslogtreecommitdiffstats
path: root/lib/news.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/news.php')
-rw-r--r--lib/news.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/news.php b/lib/news.php
index a67ad5f8d..47fc46ac4 100644
--- a/lib/news.php
+++ b/lib/news.php
@@ -53,7 +53,7 @@ function news_date($dt, $locale = 'en')
*
* @return array
*/
-function get_news($locale = 'en', $count = 5, $cache_timeout = 5)
+function get_news($locale = 'en', $count = 5, $cache_timeout = 1)
{
return get_feed(blog_link($locale), $count, cache_timeout);
@@ -61,7 +61,7 @@ function get_news($locale = 'en', $count = 5, $cache_timeout = 5)
/**
*/
-function get_feed($url, $count = 5, $cache_timeout = 5)
+function get_feed($url, $count = 5, $cache_timeout = 1)
{
include_once G_APP_ROOT . '/lib/simplepie/autoloader.php';