Lines 43-49
Prints the manual page and exits.
Link Here
|
43 |
|
43 |
|
44 |
=item B<--force> |
44 |
=item B<--force> |
45 |
|
45 |
|
46 |
Allows this script to rebuild the entire holds queue even if RealTimeHoldsQueue is enabled. |
46 |
Allows this script to rebuild the entire holds queue even if the RealTimeHoldsQueue system preference is enabled. |
47 |
|
47 |
|
48 |
=back |
48 |
=back |
49 |
|
49 |
|
Lines 70-76
pod2usage( -exitval => 0, -verbose => 2 ) if $man;
Link Here
|
70 |
my $rthq = C4::Context->preference('RealTimeHoldsQueue'); |
70 |
my $rthq = C4::Context->preference('RealTimeHoldsQueue'); |
71 |
|
71 |
|
72 |
if ( $rthq && !$force ) { |
72 |
if ( $rthq && !$force ) { |
73 |
say "Real Time Holds Queue is enabled, holds queue not built."; |
73 |
say "RealTimeHoldsQueue system preference is enabled, holds queue not built."; |
74 |
say "Use --force to force building the holds queue."; |
74 |
say "Use --force to force building the holds queue."; |
75 |
exit(1); |
75 |
exit(1); |
76 |
} |
76 |
} |
77 |
- |
|
|