notices have a create stamp not a modified stamp

darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz
This commit is contained in:
Evan Prodromou 2008-12-01 23:53:20 -05:00
parent c3f2d195f9
commit 28751ef554
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class ShownoticeAction extends StreamAction {
} }
function last_modified() { function last_modified() {
return max(strtotime($this->notice->modified), return max(strtotime($this->notice->created),
strtotime($this->profile->modified), strtotime($this->profile->modified),
($this->avatar) ? strtotime($this->avatar->modified) : 0); ($this->avatar) ? strtotime($this->avatar->modified) : 0);
} }
@ -57,7 +57,7 @@ class ShownoticeAction extends StreamAction {
return 'W/"' . implode(':', array($this->arg('action'), return 'W/"' . implode(':', array($this->arg('action'),
common_language(), common_language(),
$this->notice->id, $this->notice->id,
strtotime($this->notice->modified), strtotime($this->notice->created),
strtotime($this->profile->modified), strtotime($this->profile->modified),
($this->avatar) ? strtotime($this->avatar->modified) : 0)); ($this->avatar) ? strtotime($this->avatar->modified) : 0));
} }