diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-09-26 16:01:02 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-09-26 16:01:02 -0400 |
commit | 82084ab74c4050620d69a90cbacc33383a0b7e5f (patch) | |
tree | 5a62b659c5acf66152f2987787e6cf38afc5eca5 /classes/Notice.php | |
parent | 15c0fb7abd2a364886729d416231cac8ae0ef004 (diff) |
move memcache connections to util.php
darcs-hash:20080926200102-5ed1f-debbc18981424d7724277ac82e5fbfd5e797090e.gz
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index f3debe742..b42a8726e 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -125,8 +125,8 @@ class Notice extends Memcached_DataObject } function blowSubsCache() { - $cache = new Memcache(); - if ($cache->connect(common_config('memcached', 'server'), common_config('memcached', 'port'))) { + $cache = common_memcache(); + if ($cache) { $user = new User(); $user->query('SELECT id ' . |