Permalink
Browse files

Rename C4::Plack::* to Koha::Plack::*

  • Loading branch information...
1 parent 7456f42 commit fa8ca08f9ed321ddd9c7af66061767dfd174a290 @ctfliblime ctfliblime committed Jun 25, 2011
Showing with 6 additions and 8 deletions.
  1. +1 −3 {C4 → Koha}/Plack/Localize.pm
  2. +1 −1 {C4 → Koha}/Plack/Rewrite.pm
  3. +1 −1 {C4 → Koha}/Plack/ScrubStatus.pm
  4. +3 −3 app.psgi
@@ -1,4 +1,4 @@
-package C4::Plack::Localize;
+package Koha::Plack::Localize;
use parent qw(Plack::Middleware);
use Koha;
@@ -10,8 +10,6 @@ sub call {
local $C4::Context::context;
$C4::Context::context = C4::Context->new();
- local $C4::XSLT::stylesheet;
-
my $res = $self->app->($env);
return $res;
}
@@ -1,4 +1,4 @@
-package C4::Plack::Rewrite;
+package Koha::Plack::Rewrite;
use parent qw(Plack::Middleware);
use Modern::Perl;
@@ -1,4 +1,4 @@
-package C4::Plack::ScrubStatus;
+package Koha::Plack::ScrubStatus;
use parent qw(Plack::Middleware);
use Koha;
View
@@ -10,9 +10,9 @@ builder {
enable 'Deflater';
enable 'Static', path => qr{^/opac-tmpl/}, root => 'koha-tmpl/';
enable 'Static', path => qr{^/intranet-tmpl/}, root => 'koha-tmpl/';
- enable '+C4::Plack::Localize';
- enable '+C4::Plack::Rewrite';
- enable '+C4::Plack::ScrubStatus';
+ enable '+Koha::Plack::Localize';
+ enable '+Koha::Plack::Rewrite';
+ enable '+Koha::Plack::ScrubStatus';
mount '/' => $app;
};

0 comments on commit fa8ca08

Please sign in to comment.