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:
parent
921eb1eb23
commit
1413ed911f
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user