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

sartak at bestpractical.com sartak at bestpractical.com
Thu Jul 17 22:38:07 EDT 2008


Author: sartak
Date: Thu Jul 17 22:38:07 2008
New Revision: 14245

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

Log:
 r64538 at onn:  sartak | 2008-07-17 22:32:02 -0400
 Finish refactoring this method I guess :)


Modified: Prophet/trunk/lib/Prophet/Replica.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica.pm	(original)
+++ Prophet/trunk/lib/Prophet/Replica.pm	Thu Jul 17 22:38:07 2008
@@ -87,7 +87,7 @@
         $class->log_fatal("$scheme isn't a replica type I know how to handle. (The Replica URL given was $args{url}). I can handle the following replica types: " . join(', ', sort keys %$REPLICA_TYPE_MAP) . ", and possibly more)");
     }
 
-    return $orig->($class, %args, url => $args{url}) if $class eq $new_class;
+    return $orig->($class, %args) if $class eq $new_class;
 
     $new_class->require;
     return $new_class->new(%args);



More information about the Bps-public-commit mailing list