summaryrefslogtreecommitdiff
path: root/actions/getfile.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-06 10:07:43 -0400
committerEvan Prodromou <evan@status.net>2010-09-06 10:07:43 -0400
commita319b40c97c2fd6527eeb81d7d2f2d703756ef80 (patch)
tree19f849d8abddc24b609d33a5710efb97b37a972f /actions/getfile.php
parente42d2124a319e72f949fa354cc75252f32a5a6c5 (diff)
common_cache_key() -> Cache::key()
Diffstat (limited to 'actions/getfile.php')
-rw-r--r--actions/getfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/getfile.php b/actions/getfile.php
index 17cca13f4..a45506ce2 100644
--- a/actions/getfile.php
+++ b/actions/getfile.php
@@ -131,7 +131,7 @@ class GetfileAction extends Action
$cache = Cache::instance();
if($cache) {
- $key = common_cache_key('attachments:etag:' . $this->path);
+ $key = Cache::key('attachments:etag:' . $this->path);
$etag = $cache->get($key);
if($etag === false) {
$etag = crc32(file_get_contents($this->path));