summaryrefslogtreecommitdiff
path: root/actions/getfile.php
diff options
context:
space:
mode:
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 9cbe8e1d9..17cca13f4 100644
--- a/actions/getfile.php
+++ b/actions/getfile.php
@@ -129,7 +129,7 @@ class GetfileAction extends Action
return null;
}
- $cache = common_memcache();
+ $cache = Cache::instance();
if($cache) {
$key = common_cache_key('attachments:etag:' . $this->path);
$etag = $cache->get($key);