summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Andrews2017-02-16 15:07:12 (GMT)
committerJeremy Andrews2017-02-16 15:07:12 (GMT)
commit4e015d03734d579f94a5f0b1ef0edbfe946eea2d (patch)
treef94558dadfbea2e5eef1fe01b9ce990d829a4d3c
parent05a9903c7a321d338742dc225a2092eeca102765 (diff)
Revert "Issue #2376391 by Jeremy, marco: Call to undefined function lock_acquire()"
This reverts commit 05a9903c7a321d338742dc225a2092eeca102765.
-rw-r--r--dmemcache.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dmemcache.inc b/dmemcache.inc
index 02df1cb..98a838f 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, FALSE)) {
+ if (isset($preferred) && class_exists($preferred)) {
$extension = ucfirst(strtolower($preferred));
}
// If no extension is set, default to Memcache.
- elseif (class_exists('Memcache', FALSE)) {
+ elseif (class_exists('Memcache')) {
$extension = 'Memcache';
}
- elseif (class_exists('Memcached', FALSE)) {
+ elseif (class_exists('Memcached')) {
$extension = 'Memcached';
}
else {