summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorcatch2011-07-03 16:06:47 (GMT)
committercatch2011-07-03 16:06:47 (GMT)
commitd4ee49cea4b7f3c0d423000363a3cb3fabd9fb12 (patch)
treeaae6a024639f3f424f5b580d2b5aaf92d4cb85ff /tests
parent2fe64c55d491c4bf08e90fd2f89f68d961b8a490 (diff)
Issue #1131140: remove some cruft from memcache_test.module, remove static caching of in dmemcache_key.
Diffstat (limited to 'tests')
-rw-r--r--tests/memcache_test.module4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/memcache_test.module b/tests/memcache_test.module
index 8632b50..86c7f20 100644
--- a/tests/memcache_test.module
+++ b/tests/memcache_test.module
@@ -25,8 +25,6 @@ function memcache_test_menu() {
* Try to acquire a named lock and report the outcome.
*/
function memcache_test_lock_acquire() {
- dmemcache_key(FALSE, FALSE, TRUE);
- $GLOBALS['drupal_test_info']['test_run_id'] = arg(2);
if (lock_acquire('memcache_test_lock_acquire')) {
lock_release('memcache_test_lock_acquire');
return 'TRUE: Lock successfully acquired in memcache_test_lock_acquire()';
@@ -40,8 +38,6 @@ function memcache_test_lock_acquire() {
* Try to acquire a specific lock, and then exit.
*/
function memcache_test_lock_exit() {
- dmemcache_key(FALSE, FALSE, TRUE);
- $GLOBALS['drupal_test_info']['test_run_id'] = arg(2);
if (lock_acquire('memcache_test_lock_exit', 900)) {
echo 'TRUE: Lock successfully acquired in memcache_test_lock_exit()';
// The shut-down function should release the lock.