Skip to content

Commit

Permalink
ACtually set the variable for the cache to work
Browse files Browse the repository at this point in the history
  • Loading branch information
bjori committed Feb 10, 2014
1 parent 24fe412 commit 17cdf0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/userlisting.php
Expand Up @@ -22,6 +22,7 @@ function getAllUsers() {
return $json;
}

$now = $_SERVER["REQUEST_TIME"];
if (isset($_SERVER["HTTP_IF_MODIFIED_SINCE"])) {
$last = strtotime($_SERVER["HTTP_IF_MODIFIED_SINCE"]);

Expand Down

0 comments on commit 17cdf0a

Please sign in to comment.