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

(-)a/misc/maintenance/borrowers-force-messaging-defaults.pl (-4 / +3 lines)
Lines 81-87 my $result = GetOptions( Link Here
81
    'truncate'    => \$truncate,
81
    'truncate'    => \$truncate,
82
    'since:s'     => \$since,
82
    'since:s'     => \$since,
83
    'not-expired' => \$not_expired,
83
    'not-expired' => \$not_expired,
84
    'no_overwrite'  => \$no_overwrite,
84
    'no-overwrite'  => \$no_overwrite,
85
    'help|h'      => \$help,
85
    'help|h'      => \$help,
86
);
86
);
87
87
Lines 111-117 Filled' notice for example. Link Here
111
111
112
This script creates/overwrites messaging preferences for all borrowers and sets
112
This script creates/overwrites messaging preferences for all borrowers and sets
113
them to default values defined for the category they belong to (unless you
113
them to default values defined for the category they belong to (unless you
114
use the options -not-expired or -no_overwrite to update a subset).
114
use the options -not-expired or -no-overwrite to update a subset).
115
115
116
=over 8
116
=over 8
117
117
Lines 132-138 affects borrower_message_preferences table. Link Here
132
132
133
Will only update active borrowers (borrowers who didn't pass their expiration date).
133
Will only update active borrowers (borrowers who didn't pass their expiration date).
134
134
135
=item B<--no_overwrite>
135
=item B<--no-overwrite>
136
136
137
Will only update patrons without messaging preferences and skip patrons that
137
Will only update patrons without messaging preferences and skip patrons that
138
already set their preferences.
138
already set their preferences.
139
- 

Return to bug 19451