summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/action.php b/lib/action.php
index 1cb41389a..5e16c98a7 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -69,12 +69,9 @@ class Action { // lawsuit
if ($if_modified_since) {
$ims = strtotime($if_modified_since);
if ($lm <= $ims) {
- $if_none_match = $_SERVER['HTTP_IF_NONE_MATCH'];
- if ($if_none_match) {
- header('304 Not Modified');
- # Better way to do this?
- exit(0);
- }
+ header('304 Not Modified');
+ # Better way to do this?
+ exit(0);
}
}
}