|
Lines 556-561
sub _version_check ($$) {
Link Here
|
| 556 |
if (C4::Context->preference('OpacMaintenance') && $type eq 'opac') { |
556 |
if (C4::Context->preference('OpacMaintenance') && $type eq 'opac') { |
| 557 |
warn "OPAC Install required, redirecting to maintenance"; |
557 |
warn "OPAC Install required, redirecting to maintenance"; |
| 558 |
print $query->redirect("/cgi-bin/koha/maintenance.pl"); |
558 |
print $query->redirect("/cgi-bin/koha/maintenance.pl"); |
|
|
559 |
safe_exit; |
| 559 |
} |
560 |
} |
| 560 |
unless ( $version = C4::Context->preference('Version') ) { # assignment, not comparison |
561 |
unless ( $version = C4::Context->preference('Version') ) { # assignment, not comparison |
| 561 |
if ( $type ne 'opac' ) { |
562 |
if ( $type ne 'opac' ) { |
| 562 |
- |
|
|