store the tradition's new owner as well as the owner's new tradition(s)
tla [Mon, 9 Feb 2015 12:35:57 +0000 (13:35 +0100)]
persistence/lib/Text/Tradition/Directory.pm

index c57115b..94ae530 100644 (file)
@@ -582,8 +582,9 @@ sub _find_gplus {
         });
 
     foreach my $t (@{ $user->traditions }) {
-               $user->remove_tradition($t);
+        $user->remove_tradition($t);
         $new_user->add_tradition($t);
+        $self->update($t);
     }
     $self->update($user);
     $self->update($new_user);