Skip to content

Commit

Permalink
[delivers #16336385] Deprecate Koha::Plack::ScrubStatus
Browse files Browse the repository at this point in the history
DEPENDENCIES:
 * ADDS: Plack::Middleware::Header
  • Loading branch information
ctfliblime committed Jul 27, 2011
1 parent 19698fa commit faf589e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
16 changes: 0 additions & 16 deletions Koha/Plack/ScrubStatus.pm

This file was deleted.

1 change: 1 addition & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,7 @@ WriteMakefile(
'PDF::Reuse::Barcode' => 0.05,
'Plack' => 0.9978,
'Plack::Middleware::Deflater' => 0.03,
'Plack::Middleware::Header' => 0.04,
'Plack::Middleware::MethodOverride' => 0.10,
'POE' => 0.9999,
'POSIX' => 1.09,
Expand Down
4 changes: 2 additions & 2 deletions app.psgi
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ my $reserves = Koha::Squatting::Reserve->init;
my $branches = Koha::Squatting::Branch->init;

builder {
enable 'Deflater';
enable 'HTTPExceptions';
enable 'MethodOverride';
enable 'Deflater';
enable 'Static', path => qr{^/opac-tmpl/}, root => "$root/koha-tmpl/";
enable 'Static', path => qr{^/intranet-tmpl/}, root => "$root/koha-tmpl/";
enable 'Header', unset => ['Status'];
enable '+Koha::Plack::Localize';
enable '+Koha::Plack::Rewrite';
enable '+Koha::Plack::ScrubStatus';

mount '/branches/' => sub {Koha::Squatting::Branch->psgi(shift)};
mount '/reserves/' => sub {Koha::Squatting::Reserve->psgi(shift)};
Expand Down

0 comments on commit faf589e

Please sign in to comment.