mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
issue #1907 revert age-max to 30 days for latest news
This commit is contained in:
parent
51a413b453
commit
b9758356dc
1 changed files with 1 additions and 1 deletions
|
@ -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>',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue