View | Details | Raw Unified | Return to bug 25936
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_25936.pl (-8 / +3 lines)
Lines 7-21 return { Link Here
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
9
10
        # Add PASSCHANGE notice
10
        # Add PASSWORD_CHANGE notice
11
        $dbh->do( q{
11
        $dbh->do( q{
12
            INSERT IGNORE INTO letter (module, code, name, title, content, message_transport_type) VALUES ('members', 'PASSCHANGE', 'Notification of password change', 'Library account password change notification',
12
            INSERT IGNORE INTO letter (module, code, name, title, content, message_transport_type) VALUES ('members', 'PASSWORD_CHANGE', 'Notification of password change', 'Library account password change notification',
13
            "Dear [% borrower.firstname %] [% borrower.surname %],
13
            "Dear [% borrower.firstname %] [% borrower.surname %],\r\n\r\nSomeone has changed your library user account password.\r\n\r\nIf this is unexpected, please contact the library.", 'email');
14
15
            Someone has changed your library user account password.
16
17
            If this is unexpected, please contact the library.
18
            ", 'email');
19
        });
14
        });
20
15
21
        # Add systempreference
16
        # Add systempreference
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-2 / +1 lines)
Lines 1077-1083 tables: Link Here
1077
            - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1077
            - "If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly."
1078
1078
1079
        - module: members
1079
        - module: members
1080
          code: PASSCHANGE
1080
          code: PASSWORD_CHANGE
1081
          branchcode: ""
1081
          branchcode: ""
1082
          name: "Notification of password change"
1082
          name: "Notification of password change"
1083
          is_html: 1
1083
          is_html: 1
1084
- 

Return to bug 25936