summaryrefslogtreecommitdiff
path: root/lib/stompqueuemanager.php
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 /lib/stompqueuemanager.php
parent6fe2429c4191bd4b7de8c7a512dfbf78571ddbaf (diff)
common_memcache() => Cache::instance()
Diffstat (limited to 'lib/stompqueuemanager.php')
-rw-r--r--lib/stompqueuemanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php
index fc98c77d4..1d9a5ad20 100644
--- a/lib/stompqueuemanager.php
+++ b/lib/stompqueuemanager.php
@@ -578,7 +578,7 @@ class StompQueueManager extends QueueManager
function incDeliveryCount($msgId)
{
$count = 0;
- $cache = common_memcache();
+ $cache = Cache::instance();
if ($cache) {
$key = 'statusnet:stomp:message-retries:' . $msgId;
$count = $cache->increment($key);