]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Hackaround for http caching problem on poll pages; the notice doesn't change, but...
authorBrion Vibber <brion@pobox.com>
Wed, 9 Mar 2011 00:06:30 +0000 (16:06 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 9 Mar 2011 00:06:30 +0000 (16:06 -0800)
plugins/Poll/showpoll.php

index f5002701a238d28840b50b5520aa63e98ffaec0d..21ac7647c00f0e8dd4bd052cfff23915ca83af9a 100644 (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();
+    }
+
 }