[Bps-public-commit] r14145 - in sd/trunk: . lib/App/SD/Replica/Hiveminder

sartak at bestpractical.com sartak at bestpractical.com
Wed Jul 16 00:44:34 EDT 2008


Author: sartak
Date: Wed Jul 16 00:44:29 2008
New Revision: 14145

Modified:
   sd/trunk/   (props changed)
   sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm
   sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm

Log:
 r64357 at onn:  sartak | 2008-07-16 00:44:23 -0400
 Remove _origin, we can figure it out in other ways


Modified: sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/Hiveminder/PullEncoder.pm	Wed Jul 16 00:44:29 2008
@@ -58,25 +58,6 @@
             for my $key ( keys %$previous_state ) {
                 $change->add_prop_change( { new => $previous_state->{$key}, old => undef, name => $key } );
             }
-
-            $change->add_prop_change({
-                name => '_origin',
-                old  => undef,
-                new  => $self->sync_source->hm_url,
-            });
-
-            if ($previous_state->{record_locator}) {
-                my $origin_display = $self->sync_source->hm_url
-                                . '/task/'
-                                . $previous_state->{record_locator};
-
-                $change->add_prop_change({
-                    name => '_origin_display',
-                    old  => undef,
-                    new  => $origin_display,
-                });
-            }
-
         }
         else {
             die "Unknown change type $txn->{type}.";

Modified: sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm
==============================================================================
--- sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm	(original)
+++ sd/trunk/lib/App/SD/Replica/RT/PullEncoder.pm	Wed Jul 16 00:44:29 2008
@@ -62,11 +62,6 @@
 
     $ticket->{'id'} =~ s/^ticket\///g;
 
-    $ticket->{'_origin'} = $self->sync_source->rt_url;
-    $ticket->{'_origin_display'} = sprintf '%s/Ticket/Display.html?id=%d',
-                                   $self->sync_source->rt_url,
-                                   $ticket->{'id'};
-
     map { $ticket->{ $self->sync_source->uuid . '-' . lc($_) } = delete $ticket->{$_} }
         (qw(Queue id));
     map { delete $ticket->{$_} if ( !defined $ticket->{$_} || $ticket->{$_} eq '' ) } keys %$ticket;



More information about the Bps-public-commit mailing list