Skip to content

Commit

Permalink
remove tradition from old user too
Browse files Browse the repository at this point in the history
  • Loading branch information
tla committed Feb 9, 2015
1 parent 2d9c590 commit e9b6e10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion persistence/lib/Text/Tradition/Directory.pm
Expand Up @@ -582,9 +582,10 @@ sub _find_gplus {
});

foreach my $t (@{ $user->traditions }) {
$user->remove_tradition($t);
$new_user->add_tradition($t);
}
$self->update(@{ $user->traditions });
$self->update($user);
$self->update($new_user);

# $self->delete_user({ username => $user->id });
Expand Down

0 comments on commit e9b6e10

Please sign in to comment.