Skip to content
Snippets Groups Projects
Verified Commit 3e2efcfb authored by Alberto Paderno's avatar Alberto Paderno
Browse files

Issue #3462804: Prefix the APCu key names with the module machine name

parent ff9aa911
No related branches found
No related tags found
1 merge request!16Issue #3462804: Prefix the APCu key names with the module machine name
Pipeline #229911 passed
......@@ -157,11 +157,11 @@ public function __construct($bin) {
if ($test_prefix = drupal_valid_test_ua()) {
$prefix = $test_prefix . '::' . $prefix;
}
elseif (isset($GLOBALS['drupal_test_info'])) {
elseif (isset($GLOBALS['drupal_test_info']['test_run_id'])) {
$prefix = $GLOBALS['drupal_test_info']['test_run_id'] . '::' . $prefix;
}
$this->prefix = $prefix;
$this->prefix = "apc_$prefix";
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment