summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Andrews2015-01-24 08:12:37 (GMT)
committerJeremy Andrews2015-01-24 08:12:37 (GMT)
commit1ea5683b93b19a71a97c5f444152a20e3167b5fb (patch)
tree440eb7ba0670dbe4d95a7e057c4cc2a17397698a
parent3065340ead6989ebc7624136e1fed2f47fcc3d1f (diff)
Issue #2366709 by DamienMcKenna, hamuchen, Jeremy: memcache_requirements() returns 'failed to store then retrieve data' on Windows7.x-1.5
-rw-r--r--README.txt2
-rw-r--r--memcache.install2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.txt b/README.txt
index 7d6256f..f9fba23 100644
--- a/README.txt
+++ b/README.txt
@@ -427,7 +427,7 @@ tag and execute as a script with 'drush scr' to perform further debugging.
$cid = 'memcache_requirements_test';
$value = 'OK';
// Temporarily store a test value in memcache.
- cache_set($cid, $value, 'cache', 60);
+ cache_set($cid, $value);
// Retreive the test value from memcache.
$data = cache_get($cid);
if (!isset($data->data) || $data->data !== $value) {
diff --git a/memcache.install b/memcache.install
index f3626f9..f57ace7 100644
--- a/memcache.install
+++ b/memcache.install
@@ -127,7 +127,7 @@ function memcache_requirements($phase) {
$cid = 'memcache_requirements_test';
$value = 'OK';
// Temporarily store a test value in memcache.
- cache_set($cid, $value, 'cache', 60);
+ cache_set($cid, $value);
// Retreive the test value from memcache.
$data = cache_get($cid);
if (!isset($data->data) || $data->data !== $value) {