]> git.decadent.org.uk Git - maypole.git/commitdiff
killed rewrite_path()
authorSebastian Riedel <sri@labs.kraih.com>
Mon, 4 Oct 2004 18:44:29 +0000 (18:44 +0000)
committerSebastian Riedel <sri@labs.kraih.com>
Mon, 4 Oct 2004 18:44:29 +0000 (18:44 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@217 48953598-375a-da11-a14b-00016c27c3ee

Changes
lib/Apache/MVC.pm
lib/CGI/Maypole.pm
lib/Maypole.pm
lib/Maypole/CLI.pm

diff --git a/Changes b/Changes
index bba854989a329487185aea7512b2b7f2a25da161..c030cf0e43233b083838ed8b0dd00a829f20948e 100644 (file)
--- a/Changes
+++ b/Changes
@@ -25,7 +25,6 @@ Revision history for Perl extension Maypole
       use Maypole::Application qw/Redirect AnotherPlugin/; note that this 
       will only triggers with parameters to import, to preserve backwards
       compability.
-    - added rewrite_path()
 
 1.7   Sat Jul 17 20:15:26 BST 2004
     - Emergency release - we lost the "use Maypole::Constants" from
index 4fcd8dfde15de7eab8fac55ea4905ae219470ccb..5eb1e4d96240f34616bc69b9337c5f0517a7e5cf 100644 (file)
@@ -30,7 +30,6 @@ sub parse_location {
     my $loc = $self->{ar}->location;
     no warnings 'uninitialized';
     $self->{path} =~ s/^($loc)?\///;
-    $self->rewrite_path;
     $self->parse_path;
     $self->parse_args;
 }
index 8d9508c78ae66e50200ce72dc1ac276ef590b67d..67cbf92f1c08e34325e1c767b5ffb845393632ff 100644 (file)
@@ -21,7 +21,6 @@ sub parse_location {
     my $loc = $self->{cgi}->url( -absolute => 1 );
     no warnings 'uninitialized';
     $self->{path} =~ s/^($loc)?\///;
-    $self->rewrite_path;
     $self->parse_path;
     $self->parse_args;
 }
index 7ab6cb31f6d058146f4fc5ba518f8652aec98625..597ab7c5a66f679696e62a84279c49f9501957fe 100644 (file)
@@ -173,8 +173,6 @@ sub authenticate { return OK }
 
 sub exception { return ERROR }
 
-sub rewrite_path { }
-
 sub parse_path {
     my $self = shift;
     $self->{path} ||= "frontpage";
index 0fd3fa3fe9c57589ef608b2c9e804288864367c5..70fb201883626e1561dc346969124c192db541c9 100644 (file)
@@ -26,7 +26,6 @@ sub parse_location {
     my $root = URI->new( $self->config->uri_base )->path;
     $self->{path} = $url->path;
     $self->{path} =~ s/^$root//i if $root;
-    $self->rewrite_path;
     $self->parse_path;
     $self->parse_args($url);
 }