summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-06 09:56:45 -0400
committerEvan Prodromou <evan@status.net>2010-09-06 09:56:45 -0400
commit8f81762d68ede590e53b929c77602f0e2db0ddc2 (patch)
treed0b95b57e16e3ad5a478bc6f6118d734badc3ddb /actions
parent6fe2429c4191bd4b7de8c7a512dfbf78571ddbaf (diff)
common_memcache() => Cache::instance()
Diffstat (limited to 'actions')
-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);