Hackaround for http caching problem on poll pages; the notice doesn't change, but the results do, so don't use the notice's last-modifeid time as a caching epoch.

This commit is contained in:
Brion Vibber 2011-03-08 16:06:30 -08:00
parent 921eb1eb23
commit 1413ed911f
1 changed files with 17 additions and 0 deletions

View File

@ -108,4 +108,21 @@ class ShowPollAction extends ShownoticeAction
$this->poll->question);
}
/**
* @fixme combine the notice time with poll update time
*/
function lastModified()
{
return Action::lastModified();
}
/**
* @fixme combine the notice time with poll update time
*/
function etag()
{
return Action::etag();
}
}