summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorporciletto2017-02-16 15:08:15 (GMT)
committerJeremy Andrews2017-02-16 15:08:15 (GMT)
commit666a46015a6f4c728aeaccdeccdbd563027f3a65 (patch)
tree1a0151f6b9b85f2069d41e0b612b0678233eefef
parent4e015d03734d579f94a5f0b1ef0edbfe946eea2d (diff)
Issue #2376391 by Jeremy, marco: Call to undefined function lock_acquire()
-rw-r--r--dmemcache.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dmemcache.inc b/dmemcache.inc
index 98a838f..02df1cb 100644
--- a/dmemcache.inc
+++ b/dmemcache.inc
@@ -637,14 +637,14 @@ function dmemcache_extension() {
if ($extension === NULL) {
// If an extension is specified in settings.php, use that when available.
$preferred = variable_get('memcache_extension', NULL);
- if (isset($preferred) && class_exists($preferred)) {
+ if (isset($preferred) && class_exists($preferred, FALSE)) {
$extension = ucfirst(strtolower($preferred));
}
// If no extension is set, default to Memcache.
- elseif (class_exists('Memcache')) {
+ elseif (class_exists('Memcache', FALSE)) {
$extension = 'Memcache';
}
- elseif (class_exists('Memcached')) {
+ elseif (class_exists('Memcached', FALSE)) {
$extension = 'Memcached';
}
else {