summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJeremy Andrews2017-01-19 08:02:45 (GMT)
committerJeremy Andrews2017-01-19 08:02:45 (GMT)
commit3c198cf393d700cfac4617537df0dfda2e036803 (patch)
tree77c7aa04e377f1326c09c06e300dbe9de5617c9c /tests
parent00d7567144291a0be2713a008d7c06d4876acd58 (diff)
Issue #1863996 by Jeremy: cleanup SESSION
Diffstat (limited to 'tests')
-rw-r--r--tests/memcache_test.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/memcache_test.module b/tests/memcache_test.module
index 45c43a2..e3b3356 100644
--- a/tests/memcache_test.module
+++ b/tests/memcache_test.module
@@ -107,6 +107,7 @@ function memcache_test_get($key) {
* Clear cache using a wildcard.
*/
function memcache_test_wildcard_flush($key) {
+ $_SESSION['cache_flush'] = array();
cache_clear_all($key, 'MemcacheDrupal', TRUE);
drupal_json_output($key);
}