summaryrefslogtreecommitdiff
path: root/plugins/LdapCommon
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 /plugins/LdapCommon
parent6fe2429c4191bd4b7de8c7a512dfbf78571ddbaf (diff)
common_memcache() => Cache::instance()
Diffstat (limited to 'plugins/LdapCommon')
-rw-r--r--plugins/LdapCommon/LdapCommon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LdapCommon/LdapCommon.php b/plugins/LdapCommon/LdapCommon.php
index 1f1647a75..f53660a4c 100644
--- a/plugins/LdapCommon/LdapCommon.php
+++ b/plugins/LdapCommon/LdapCommon.php
@@ -126,7 +126,7 @@ class LdapCommon
}
throw new Exception('Could not connect to LDAP server: '.$err->getMessage());
}
- $c = common_memcache();
+ $c = Cache::instance();
if (!empty($c)) {
$cacheObj = new MemcacheSchemaCache(
array('c'=>$c,