forked from GNUsocial/gnu-social
notices have a create stamp not a modified stamp
darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz
This commit is contained in:
parent
c3f2d195f9
commit
28751ef554
@ -48,7 +48,7 @@ class ShownoticeAction extends StreamAction {
|
||||
}
|
||||
|
||||
function last_modified() {
|
||||
return max(strtotime($this->notice->modified),
|
||||
return max(strtotime($this->notice->created),
|
||||
strtotime($this->profile->modified),
|
||||
($this->avatar) ? strtotime($this->avatar->modified) : 0);
|
||||
}
|
||||
@ -57,7 +57,7 @@ class ShownoticeAction extends StreamAction {
|
||||
return 'W/"' . implode(':', array($this->arg('action'),
|
||||
common_language(),
|
||||
$this->notice->id,
|
||||
strtotime($this->notice->modified),
|
||||
strtotime($this->notice->created),
|
||||
strtotime($this->profile->modified),
|
||||
($this->avatar) ? strtotime($this->avatar->modified) : 0));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user