summaryrefslogtreecommitdiff
path: root/rt/etc/upgrade/4.0.6/content
diff options
context:
space:
mode:
Diffstat (limited to 'rt/etc/upgrade/4.0.6/content')
-rw-r--r--rt/etc/upgrade/4.0.6/content17
1 files changed, 17 insertions, 0 deletions
diff --git a/rt/etc/upgrade/4.0.6/content b/rt/etc/upgrade/4.0.6/content
new file mode 100644
index 000000000..dc1a00951
--- /dev/null
+++ b/rt/etc/upgrade/4.0.6/content
@@ -0,0 +1,17 @@
+@Initial = (
+ sub {
+ my $txns = RT::Transactions->new( $RT::SystemUser );
+ $txns->Limit(
+ FIELD => "ObjectType",
+ VALUE => "RT::User",
+ );
+ $txns->Limit(
+ FIELD => "Field",
+ VALUE => "Password",
+ );
+ while (my $txn = $txns->Next) {
+ $txn->__Set( Field => $_, Value => '********' )
+ for qw/OldValue NewValue/;
+ }
+ },
+);