issue #1907 revert age-max to 30 days for latest news

This commit is contained in:
plegall 2023-04-27 18:11:53 +02:00
parent 51a413b453
commit b9758356dc

View file

@ -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>',