Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
memcache
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
memcache
Commits
4e015d03
Commit
4e015d03
authored
Feb 16, 2017
by
Jeremy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Issue
#2376391
by Jeremy, marco: Call to undefined function lock_acquire()"
This reverts commit
05a9903c
.
parent
05a9903c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dmemcache.inc
dmemcache.inc
+3
-3
No files found.
dmemcache.inc
View file @
4e015d03
...
@@ -637,14 +637,14 @@ function dmemcache_extension() {
...
@@ -637,14 +637,14 @@ function dmemcache_extension() {
if
(
$extension
===
NULL
)
{
if
(
$extension
===
NULL
)
{
// If an extension is specified in settings.php, use that when available.
// If an extension is specified in settings.php, use that when available.
$preferred
=
variable_get
(
'memcache_extension'
,
NULL
);
$preferred
=
variable_get
(
'memcache_extension'
,
NULL
);
if
(
isset
(
$preferred
)
&&
class_exists
(
$preferred
,
FALSE
))
{
if
(
isset
(
$preferred
)
&&
class_exists
(
$preferred
))
{
$extension
=
ucfirst
(
strtolower
(
$preferred
));
$extension
=
ucfirst
(
strtolower
(
$preferred
));
}
}
// If no extension is set, default to Memcache.
// If no extension is set, default to Memcache.
elseif
(
class_exists
(
'Memcache'
,
FALSE
))
{
elseif
(
class_exists
(
'Memcache'
))
{
$extension
=
'Memcache'
;
$extension
=
'Memcache'
;
}
}
elseif
(
class_exists
(
'Memcached'
,
FALSE
))
{
elseif
(
class_exists
(
'Memcached'
))
{
$extension
=
'Memcached'
;
$extension
=
'Memcached'
;
}
}
else
{
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment