summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-01 09:51:06 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-01 09:51:06 -0700
commitdc75725b71c477ee04dc2fb5233da7621c08c32c (patch)
tree823654e1498cf8874b6f5fff0649a90b5d37c783 /modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php
parent6f53d446aaf3008f042a3d294ec4f292f179378d (diff)
downloadbrdo-dc75725b71c477ee04dc2fb5233da7621c08c32c.tar.gz
brdo-dc75725b71c477ee04dc2fb5233da7621c08c32c.tar.bz2
Issue #1014262 by Eric_A, asimmonds: Fixed user_update_7011() completely broken (User email template tokens not upgraded).
Diffstat (limited to 'modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php')
-rw-r--r--modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php b/modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php
new file mode 100644
index 000000000..367c70481
--- /dev/null
+++ b/modules/simpletest/tests/upgrade/drupal-6.user-password-token.database.php
@@ -0,0 +1,10 @@
+<?php
+db_insert('variable')->fields(array(
+ 'name',
+ 'value',
+))
+->values(array(
+ 'name' => 'user_mail_register_no_approval_required_body',
+ 'value' => 's:97:"!password, !username, !site, !uri, !uri_brief, !mailto, !date, !login_uri, !edit_uri, !login_url.";',
+))
+->execute();