Commit 1ea5683b authored by Jeremy's avatar Jeremy

Issue #2366709 by DamienMcKenna, hamuchen, Jeremy: memcache_requirements()...

Issue #2366709 by DamienMcKenna, hamuchen, Jeremy: memcache_requirements() returns 'failed to store then retrieve data' on Windows
parent 3065340e
......@@ -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) {
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment