Skip to content
This repository was archived by the owner on Feb 13, 2020. It is now read-only.

Commit a185e31

Browse files
committed
Update userguide controller for $response->check_cache() changes. Refs #4373
1 parent 19856ed commit a185e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/controller/userguide.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public function action_media()
258258
if ($file = Kohana::find_file('media/guide', $file, $ext))
259259
{
260260
// Check if the browser sent an "if-none-match: <etag>" header, and tell if the file hasn't changed
261-
$this->response->check_cache(sha1($this->request->uri()).filemtime($file), $this->request);
261+
$this->check_cache(sha1($this->request->uri()).filemtime($file));
262262

263263
// Send the file content as the response
264264
$this->response->body(file_get_contents($file));

0 commit comments

Comments
 (0)