mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
issue #1907 revert age-max to 30 days for latest news
This commit is contained in:
@@ -197,7 +197,7 @@ if ($conf['show_piwigo_latest_news'])
|
||||
{
|
||||
$latest_news = get_piwigo_news();
|
||||
|
||||
if (isset($latest_news['id']) and $latest_news['posted_on'] > time()-60*60*24*180)
|
||||
if (isset($latest_news['id']) and $latest_news['posted_on'] > time()-60*60*24*30)
|
||||
{
|
||||
$page['messages'][] = sprintf(
|
||||
'%s <a href="%s" title="%s" target="_blank"><i class="icon-bell"></i> %s</a>',
|
||||
|
||||
Reference in New Issue
Block a user