]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/LdapCommon/LdapCommon.php
common_memcache() => Cache::instance()
[quix0rs-gnu-social.git] / plugins / LdapCommon / LdapCommon.php
index 1f1647a75306581b03863b247e11663c29580566..f53660a4c4b7b6acea898fe19771c6ca1ccab8f9 100644 (file)
@@ -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,