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

(-)a/misc/cronjobs/delete_patrons.pl (-4 / +4 lines)
Lines 39-45 $expired_before = dt_from_string( $expired_before, 'iso' ) Link Here
39
  if $expired_before;
39
  if $expired_before;
40
40
41
if ( $last_seen and not C4::Context->preference('TrackLastPatronActivity') ) {
41
if ( $last_seen and not C4::Context->preference('TrackLastPatronActivity') ) {
42
    pod2usage(q{The --last_seen option cannot be used with TrackLastPatronActivity turned off});
42
    pod2usage(q{The --last_seen will be ineffective if TrackLastPatronActivity turned off or there are not TrackLastPatronActivityTriggers defined});
43
}
43
}
44
44
45
unless ( $not_borrowed_since or $expired_before or $last_seen or @category_code or $branchcode or $file ) {
45
unless ( $not_borrowed_since or $expired_before or $last_seen or @category_code or $branchcode or $file ) {
Lines 183-191 Delete patrons with an account expired before this date. Link Here
183
183
184
=item B<--last_seen>
184
=item B<--last_seen>
185
185
186
Delete patrons who have not been connected since this date.
186
Delete patrons who have not been active since this date.
187
187
188
The system preference TrackLastPatronActivity must be enabled to use this option.
188
The system preference TrackLastPatronActivity must be enabled and at least one TrackLastPatronActivityTriggers
189
must be set to use this option.
189
190
190
=item B<--category_code>
191
=item B<--category_code>
191
192
192
- 

Return to bug 15504