Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vijaycs85’s picture

Title: Convert update_last_check and update_last_email_notification variables to CMI system » Convert drupal_test_email_collector variable to CMI system
vijaycs85’s picture

Status: Active » Needs review
FileSize
2.9 KB
vijaycs85’s picture

Fixing variable name

alexpott’s picture

Status: Needs review » Needs work
+++ b/core/lib/Drupal/Core/Mail/VariableLog.phpundefined
@@ -21,9 +21,9 @@ class VariableLog extends PhpMail implements MailInterface {
-    $captured_emails = variable_get('drupal_test_email_collector', array());

Lets namespace the state variable to system.test_email_collector

vijaycs85’s picture

Status: Needs work » Needs review
FileSize
2.92 KB
alexpott’s picture

Status: Needs review » Reviewed & tested by the community

Looks good. Thanks for the work!

There's no need for an hook_update_N function as this is only used in tests.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.

vijaycs85’s picture

Assigned: vijaycs85 » Unassigned
Issue summary: View changes