forked from GNUsocial/gnu-social
correct last-modified date for shownotice.php
This commit is contained in:
parent
f134ba68ab
commit
4ec1c33307
@ -122,7 +122,7 @@ class ShownoticeAction extends Action
|
|||||||
|
|
||||||
function lastModified()
|
function lastModified()
|
||||||
{
|
{
|
||||||
return max(strtotime($this->notice->created),
|
return max(strtotime($this->notice->modified),
|
||||||
strtotime($this->profile->modified),
|
strtotime($this->profile->modified),
|
||||||
($this->avatar) ? strtotime($this->avatar->modified) : 0);
|
($this->avatar) ? strtotime($this->avatar->modified) : 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user