summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgit2017-02-17 05:31:32 (GMT)
committerJeremy Andrews2017-02-17 05:31:32 (GMT)
commit05a9903c7a321d338742dc225a2092eeca102765 (patch)
tree1a0151f6b9b85f2069d41e0b612b0678233eefef
parent920c1ce655e5fbe8b98b72d8700a5fdc3f1701c4 (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 {