[Bps-public-commit] r14241 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Thu Jul 17 18:59:18 EDT 2008


Author: sartak
Date: Thu Jul 17 18:59:18 2008
New Revision: 14241

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Replica.pm

Log:
 r64531 at onn:  sartak | 2008-07-17 18:59:09 -0400
 We don't want to keep the scheme for file: replicas


Modified: Prophet/trunk/lib/Prophet/Replica.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica.pm	(original)
+++ Prophet/trunk/lib/Prophet/Replica.pm	Thu Jul 17 18:59:18 2008
@@ -48,13 +48,13 @@
 }
 
  # register some aliases
-for my $scheme (qw/http file/) {
-   __PACKAGE__->register_replica_scheme(
-       %{ $REPLICA_TYPE_MAP->{prophet} },
-       scheme      => $scheme,
-       keep_scheme => 1,
-   );
-}
+__PACKAGE__->register_replica_scheme(%{ $REPLICA_TYPE_MAP->{prophet} }, scheme => 'file');
+
+__PACKAGE__->register_replica_scheme(
+    %{ $REPLICA_TYPE_MAP->{prophet} },
+    scheme      => 'http',
+    keep_scheme => 1,
+);
 
 =head1 NAME
 



More information about the Bps-public-commit mailing list